Closed
Bug 305689
Opened 19 years ago
Closed 19 years ago
[FIXr]Cache event queue service in nsContentUtils
Categories
(Core :: DOM: Core & HTML, defect, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: bzbarsky, Assigned: bzbarsky)
Details
Attachments
(2 files, 1 obsolete file)
12.64 KB,
patch
|
Details | Diff | Splinter Review | |
614 bytes,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
This way we don't have to keep calling GetService on it and can stop caching it in presshells.
Assignee | ||
Comment 1•19 years ago
|
||
Attachment #193627 -
Flags: superreview?(peterv)
Attachment #193627 -
Flags: review?(peterv)
Assignee | ||
Updated•19 years ago
|
Priority: -- → P2
Target Milestone: --- → mozilla1.9alpha
Comment 2•19 years ago
|
||
it'd be nice if nsContentUtils.h documented which functions guarantee a non-null return and which don't...
Assignee | ||
Comment 3•19 years ago
|
||
Perhaps should simply use Foo() instead of GetFoo() for the ones that guarantee non-null?
Comment 4•19 years ago
|
||
(In reply to comment #3) > Perhaps should simply use Foo() instead of GetFoo() for the ones that guarantee > non-null? Yeah, I think we should do that.
Comment 5•19 years ago
|
||
Comment on attachment 193627 [details] [diff] [review] Like so >Index: content/base/src/nsImageLoadingContent.cpp >=================================================================== >+#include "nsIEventStateManager.h" Is this needed?
Attachment #193627 -
Flags: superreview?(peterv)
Attachment #193627 -
Flags: superreview+
Attachment #193627 -
Flags: review?(peterv)
Attachment #193627 -
Flags: review+
Assignee | ||
Comment 6•19 years ago
|
||
> Is this needed?
No. It snuck in from another patch. I'll remove it and rename the method to
EventQueueService() when I check in.
Assignee | ||
Comment 7•19 years ago
|
||
Attachment #193627 -
Attachment is obsolete: true
Assignee | ||
Updated•19 years ago
|
Summary: [FIX]Cache event queue service in nsContentUtils → [FIXr]Cache event queue service in nsContentUtils
Assignee | ||
Comment 8•19 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 9•19 years ago
|
||
We should release too.
Attachment #193828 -
Flags: superreview?(bzbarsky)
Attachment #193828 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 10•19 years ago
|
||
Comment on attachment 193828 [details] [diff] [review] Fix leak Doh... I suck.
Attachment #193828 -
Flags: superreview?(bzbarsky)
Attachment #193828 -
Flags: superreview+
Attachment #193828 -
Flags: review?(bzbarsky)
Attachment #193828 -
Flags: review+
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•