Closed Bug 561786 Opened 15 years ago Closed 15 years ago

Optimize nsDocument::PreHandleEvent a bit

Categories

(Core :: DOM: Events, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: smaug, Assigned: smaug)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached patch patch (deleted) — Splinter Review
All the extra release counting and QIing shows up in event handling. GetWindow() will be non-virtual (Bug 560902), so nsDocument::PreHandleEvent shouldn't show up too badly in the profiles after this a bit ugly patch. If I manage to find some good way to make nsPIDOMWindow to inherit nsPIDOMEvenTarget, then this hack could be removed.
Attachment #441522 - Flags: review?(jst)
Attachment #441522 - Flags: review?(jst) → review+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: