Closed Bug 561786 Opened 14 years ago Closed 14 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 patchSplinter 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+
http://hg.mozilla.org/mozilla-central/rev/98264cd06cae
Status: ASSIGNED → RESOLVED
Closed: 14 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: