Closed
Bug 484156
Opened 15 years ago
Closed 15 years ago
optimize MozAfterPaint a bit
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: smaug, Assigned: smaug)
Details
Attachments
(1 file)
1.36 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
In the common case chrome event handler is an element, which is in a document which has a window. So no need to ask whether it has listeners, if we can just ask its window.
Attachment #368222 -
Flags: superreview?(roc)
Attachment #368222 -
Flags: review?(roc)
Attachment #368222 -
Attachment is patch: true
Attachment #368222 -
Attachment mime type: application/octet-stream → text/plain
This looks correct, but can you explain why it's a speedup?
Assignee | ||
Comment 2•15 years ago
|
||
No need to get and check the event listener manager of the chrome event handler element. Currently the checks are content window -> element(chrome event handler) -> chrome window -> windowroot(top-level-chrome event handler) With the patch content window -> chrome window -> windowroot(top-level-chrome event handler)
Attachment #368222 -
Flags: superreview?(roc)
Attachment #368222 -
Flags: superreview+
Attachment #368222 -
Flags: review?(roc)
Attachment #368222 -
Flags: review+
Assignee | ||
Comment 3•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/4af3b0b5888d
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•