Closed Bug 211660 Opened 22 years ago Closed 20 years ago

NS_FRAME_SYNC_FRAME_AND_VIEW is unused

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 287338

People

(Reporter: roc, Assigned: roc)

Details

NS_FRAME_SYNC_FRAME_AND_VIEW is set and cleared in the frame state in a few places. However, it is never tested for. We may as well just remove it and all the code that sets it. This frees up a global frame state bit, woohoo! I noticed this because nsListControlFrame::MoveTo is overridden specifically to set this bit, but that method hasn't been called in a VERY long time...
> This frees up a global frame state bit, woohoo! Same story with NS_FRAME_HAS_LOADED_IMAGES http://lxr.mozilla.org/seamonkey/search?string=NS_FRAME_HAS_LOADED_IMAGES And NS_FRAME_HAS_VIEW now seems of dubious value as well (nobody set it): http://lxr.mozilla.org/seamonkey/search?string=NS_FRAME_HAS_VIEW That will bring the total to a whopping 3 state bits...
errata, make it 2. I made a typo when LXR'ing NS_FRAME_HAS_VIEW.
Depends on: 97934
(In reply to comment #1) > Same story with NS_FRAME_HAS_LOADED_IMAGES > http://lxr.mozilla.org/seamonkey/search?string=NS_FRAME_HAS_LOADED_IMAGES This one doesn't exist anymore. *** This bug has been marked as a duplicate of 287338 ***
Status: NEW → RESOLVED
Closed: 20 years ago
No longer depends on: 97934
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.