Closed
Bug 925531
Opened 11 years ago
Closed 11 years ago
Get rid of nativeOwnership = worker for URL
Categories
(Core :: DOM: Workers, defect)
Core
DOM: Workers
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: khuey, Assigned: khuey)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
6.86 KB,
patch
|
bent.mozilla
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #815601 -
Flags: review?(bent.mozilla)
Comment on attachment 815601 [details] [diff] [review] Patch Review of attachment 815601 [details] [diff] [review]: ----------------------------------------------------------------- r=me with these fixed: ::: dom/workers/URL.cpp @@ +557,5 @@ > return nullptr; > } > > + nsAutoPtr<URL> url = new URL(workerPrivate, proxy); > + return url.forget(); No need for this nsAutoPtr... @@ +582,5 @@ > return nullptr; > } > > + nsAutoPtr<URL> url = new URL(workerPrivate, proxy); > + return url.forget(); Or this one. @@ +603,5 @@ > NS_ERROR("Failed to dispatch teardown runnable!"); > } > } > + > + MOZ_COUNT_DTOR(workers::URL); Nit: Put this at the top of the function in case someone ever adds a return or something ::: dom/workers/URL.h @@ +14,5 @@ > +#include "mozilla/dom/NonRefcountedDOMObject.h" > + > +namespace mozilla { > +namespace dom { > +struct objectURLOptions; What's this for? @@ +29,5 @@ > > URL(WorkerPrivate* aWorkerPrivate, URLProxy* aURLProxy); > ~URL(); > > + nsISupports* GetParentObject() const { Nit: return type and { on their own lines, for WrapObject too
Attachment #815601 -
Flags: review?(bent.mozilla) → review+
Assignee | ||
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/092df4b7af99
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/092df4b7af99
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•10 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•