Closed Bug 209679 Opened 22 years ago Closed 21 years ago

remove NotifyReflowObservers

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.7alpha

People

(Reporter: alecf, Assigned: alecf)

References

Details

(Keywords: memory-footprint)

Attachments

(1 file, 1 obsolete file)

so I just found this lovely code while reviewing another bug, which calls out to the observer service to notify observers about all reflow events! This seems like a waste, and like bloat. it is more than likely totally unnecessary, and it dates back to 14-May-2000 - I can only imagine there used to be supporting code elsewhere in the tree. patch forthcoming.
->Layout: Misc Code
Component: Layout → Layout: Misc Code
Attached patch make it debug-only (obsolete) — Splinter Review
Maybe this should go away completely, I don't know. But it surely doesn't need to be in a release build. I'll let dbaron decide.
Comment on attachment 136803 [details] [diff] [review] make it debug-only dbaron, should we kill this entirely, or just make it debug-only? Nobody is listening to this notification.
Attachment #136803 - Flags: review?
Comment on attachment 136803 [details] [diff] [review] make it debug-only dbaron, should we kill this entirely, or just make it debug-only? Nobody is listening to this notification.
Attachment #136803 - Flags: review?(dbaron)
Target Milestone: --- → mozilla1.6beta
I'd say remove it entirely. I hope no embedder is using it -- might be worth posting about...
Alec, do you have time to drive this in for 1.7a, or should someone else take over?
oh, I can totally do this for 1.7a
Status: NEW → ASSIGNED
Target Milestone: mozilla1.6beta → mozilla1.7alpha
message posted to .embedding and .layout on 12/10/2003 patch to remove the observer notifications coming up.
and here's the patch that removes them entirely. Looking for reviews.. (dbaron?)
Attachment #136803 - Attachment is obsolete: true
Attachment #136803 - Flags: review?(dbaron)
Attachment #136803 - Flags: review?
Blocks: 203448
setting 1.7b '?' flag as patch is ready for review since Dec'03.
Flags: blocking1.7b?
Um... 1) The patch HAS review. That's pretty obvious, no? 2) The patch was checked in on Jan 7, 2004. That could be checked with about 3 minutes worth of effort. This bug is fixed, as far as I can tell, so marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Flags: blocking1.7b?
Resolution: --- → FIXED
oops, thanks
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: