Closed
Bug 305689
Opened 20 years ago
Closed 20 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•20 years ago
|
||
Attachment #193627 -
Flags: superreview?(peterv)
Attachment #193627 -
Flags: review?(peterv)
![]() |
Assignee | |
Updated•20 years ago
|
Priority: -- → P2
Target Milestone: --- → mozilla1.9alpha
Comment 2•20 years ago
|
||
it'd be nice if nsContentUtils.h documented which functions guarantee a non-null
return and which don't...
![]() |
Assignee | |
Comment 3•20 years ago
|
||
Perhaps should simply use Foo() instead of GetFoo() for the ones that guarantee
non-null?
Comment 4•20 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•20 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•20 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•20 years ago
|
||
Attachment #193627 -
Attachment is obsolete: true
![]() |
Assignee | |
Updated•20 years ago
|
Summary: [FIX]Cache event queue service in nsContentUtils → [FIXr]Cache event queue service in nsContentUtils
![]() |
Assignee | |
Comment 8•20 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 9•20 years ago
|
||
We should release too.
Attachment #193828 -
Flags: superreview?(bzbarsky)
Attachment #193828 -
Flags: review?(bzbarsky)
![]() |
Assignee | |
Comment 10•20 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
•