Closed
Bug 210443
Opened 22 years ago
Closed 22 years ago
nsImageLoadingContent shouldn't malloc as much...
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
People
(Reporter: jst, Assigned: jst)
Details
Attachments
(1 file)
|
4.73 KB,
patch
|
caillon
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
When nsImageLoadingContent started using dummly requests to ensure proper
delivery of onload events in documents with images, one more malloc per image
was introduced. This can be eliminated with some not-too-clean
nsDummyLayoutRequest usage, patch coming up, and while this ain't the cleanest
thing to do, I think it's worth doing until we have a better way...
| Assignee | ||
Comment 1•22 years ago
|
||
| Assignee | ||
Comment 2•22 years ago
|
||
Comment on attachment 126330 [details] [diff] [review]
Make ImageEvent inherit nsDummyLayoutRequest :-)
Try not to puke :-)
Attachment #126330 -
Flags: superreview?(bzbarsky)
Attachment #126330 -
Flags: review?(caillon)
Comment 3•22 years ago
|
||
Comment on attachment 126330 [details] [diff] [review]
Make ImageEvent inherit nsDummyLayoutRequest :-)
sr=me assuming you change "itsefl" to "itself". Truth to tell, I was
considering doing something like this with load events in general, at some
point in the remote past.... ;)
Attachment #126330 -
Flags: superreview?(bzbarsky) → superreview+
Comment 4•22 years ago
|
||
Comment on attachment 126330 [details] [diff] [review]
Make ImageEvent inherit nsDummyLayoutRequest :-)
>+ // The event will own itsefl while it's in the event Q, once
What bz said, and also spell out queue. Or use |eventQ| (no spaces) to match
the variable name.
puke=caillon
Attachment #126330 -
Flags: review?(caillon) → review+
| Assignee | ||
Comment 5•22 years ago
|
||
FIXED.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•