Closed
Bug 660768
Opened 13 years ago
Closed 13 years ago
modules should use mozilla::Preferences
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
FIXED
mozilla7
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Attachments
(1 file, 1 obsolete file)
9.32 KB,
patch
|
taras.mozilla
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #536254 -
Flags: review?(roc)
Comment on attachment 536254 [details] [diff] [review] Patch v1.0 Review of attachment 536254 [details] [diff] [review]: ----------------------------------------------------------------- So imglib doesn't unregister its observers either? Would be nice to fix :-)
Attachment #536254 -
Flags: review?(roc) → review+
Assignee | ||
Comment 2•13 years ago
|
||
(In reply to comment #1) > So imglib doesn't unregister its observers either? Would be nice to fix :-) Hmm... I have no idea to unregister it. Looks like imgRequest isn't singleton. The first instance registers an observer as strong. The observer is destroyed by nsPrefBranch at XPCOM shutdown. So, it doesn't make sense to remove the observer from its destructor.
Assignee | ||
Updated•13 years ago
|
Attachment #536254 -
Flags: review?(joe)
Assignee | ||
Updated•13 years ago
|
Attachment #536254 -
Flags: review?(tglek)
Comment 3•13 years ago
|
||
Comment on attachment 536254 [details] [diff] [review] Patch v1.0 Review of attachment 536254 [details] [diff] [review]: ----------------------------------------------------------------- I like it! ::: modules/libpr0n/src/imgLoader.cpp @@ +914,2 @@ > { > + NS_ASSERTION(Preferences::GetRootBranch(), "Pref branch is null"); You could just drop this assertion entirely, IMO.
Attachment #536254 -
Flags: review?(joe) → review+
Assignee | ||
Comment 4•13 years ago
|
||
Attachment #536254 -
Attachment is obsolete: true
Attachment #536254 -
Flags: review?(tglek)
Attachment #538403 -
Flags: review?(tglek)
Updated•13 years ago
|
Attachment #538403 -
Flags: review?(tglek) → review+
Assignee | ||
Comment 5•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/3f771ec754bb
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla7
Comment 6•13 years ago
|
||
Verified that the following files are updated un mozilla-central repository: modules/libjar/nsJARChannel.cpp modules/libpr0n/src/DiscardTracker.cpp modules/libpr0n/src/imgLoader.cpp modules/libpr0n/src/imgLoader.h modules/libpr0n/src/imgRequest.cpp Is this enough in order to verfy the fix and mark the bug accordingly? Thank you!
You need to log in
before you can comment on or make changes to this bug.
Description
•