Closed
Bug 1167590
Opened 9 years ago
Closed 9 years ago
Mark imgRequestProxy::mListener as MOZ_UNSAFE_REF
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: nika, Assigned: nika)
Details
(Whiteboard: [gfx-noted])
Attachments
(1 file, 2 obsolete files)
1.07 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
Updated•9 years ago
|
Whiteboard: [gfx-noted]
Assignee | ||
Updated•9 years ago
|
Attachment #8609364 -
Flags: review?(netzen)
Comment 2•9 years ago
|
||
Comment on attachment 8609364 [details] [diff] [review] Mark imgRequestProxy::mListener as MOZ_UNSAFE_REF Seth would probably be a better reviewer for imagelib things.
Attachment #8609364 -
Flags: review?(netzen) → review?(seth)
Updated•9 years ago
|
Assignee: nobody → michael
Comment 3•9 years ago
|
||
Comment on attachment 8609364 [details] [diff] [review] Mark imgRequestProxy::mListener as MOZ_UNSAFE_REF Review of attachment 8609364 [details] [diff] [review]: ----------------------------------------------------------------- Sorry for the slow review; I've been unavailable to varying degrees for the past two weeks. ::: image/src/imgRequestProxy.h @@ +203,5 @@ > > // mListener is only promised to be a weak ref (see imgILoader.idl), > // but we actually keep a strong ref to it until we've seen our > // first OnStopRequest. > + imgINotificationObserver* MOZ_UNSAFE_REF("Callers of methods setting mListener " I'm not sure that "Callers of methods setting mListener" is quite the right way to phrase this. Just say something like "Observers must call Cancel() or CancelAndForgetObserver() before they are destroyed."
Attachment #8609364 -
Flags: review?(seth) → review+
Assignee | ||
Comment 4•9 years ago
|
||
No problem. Updated patch with changed phrasing.
Attachment #8609364 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 5•9 years ago
|
||
Hi, this failed to apply: applying Bug-1167590---Mark-imgRequestProxymListener-as-MOZ.patch unable to find 'image/src/imgRequestProxy.h' for patching 1 out of 1 hunks FAILED -- saving rejects to file image/src/imgRequestProxy.h.rej patch failed, unable to continue (try -v) patch failed, rejects left in working directory errors during apply, please fix and refresh Bug-1167590---Mark-imgRequestProxymListener-as-MOZ.patch
Flags: needinfo?(michael)
Keywords: checkin-needed
Assignee | ||
Comment 6•9 years ago
|
||
Should apply cleanly on mozilla-central now.
Attachment #8621690 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(michael)
Keywords: checkin-needed
Comment 8•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1f62853f6c43
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•