Closed Bug 980275 Opened 11 years ago Closed 11 years ago

Merge DOMFileRequest and FileRequest

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: janv, Assigned: janv)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.
Attached patch patch (deleted) — Splinter Review
another cleanup before we switch to PBackground
Assignee: nobody → Jan.Varga
Status: NEW → ASSIGNED
Attachment #8386734 - Flags: review?(bent.mozilla)
Blocks: 942542
Comment on attachment 8386734 [details] [diff] [review] patch Review of attachment 8386734 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/filehandle/FileHandle.cpp @@ +164,5 @@ > return nullptr; > } > > + nsRefPtr<FileRequest> request = > + FileRequest::Create(GetOwner(), lockedFile, true); Nit: s/true//* aWrapAsDOMRequest */ true/ ::: dom/filehandle/FileRequest.cpp @@ +115,5 @@ > + > +nsIDOMLockedFile* > +FileRequest::GetLockedFile() const > +{ > + NS_ASSERTION(NS_IsMainThread(), "Wrong thread!"); Nit: MOZ_ASSERT for new stuff ::: dom/filehandle/LockedFile.cpp @@ +424,4 @@ > LockedFile::GenerateFileRequest() > { > NS_ASSERTION(NS_IsMainThread(), "Wrong thread!"); > + return FileRequest::Create(GetOwner(), this, false); Nit: s/false//* aWrapAsDOMRequest */ false/ ::: dom/filehandle/LockedFile.h @@ +102,1 @@ > GenerateFileRequest(); Nit: Remove 'inline'
Attachment #8386734 - Flags: review?(bent.mozilla) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
Flags: in-testsuite+
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: