Closed Bug 509876 Opened 15 years ago Closed 15 years ago

Clean up SyncFrameViewGeometryDependentProperties

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.2b1

People

(Reporter: mstange, Assigned: mstange)

Details

Attachments

(1 file)

Attached patch v1Splinter Review
This is extracted from the patch in bug 357725.
-- SyncFrameViewGeometryDependentProperties doesn't have to do anything with geometry, so rename it to SyncWindowProperties.
-- The conditions at its beginning only hold when SyncFrameViewAfterReflow is called from PresShell::DoReflow or when SyncFrameViewProperties is called from nsCSSFrameConstructor::ConstructRootFrame. Move the calls to SyncWindowProperties there.
-- Set the window shadow on the window widget instead of on the child widget.
-- Support setting window shadow on sheets, too, except that it doesn't work (maybe a Cocoa limitation).
Attachment #393968 - Flags: review?(roc)
Comment on attachment 393968 [details] [diff] [review]
v1

+GetPresContextWidget(nsPresContext* aPresContext)

The name should be GetPresContextContainerWidget, I think
Attachment #393968 - Flags: review?(roc) → review+
http://hg.mozilla.org/mozilla-central/rev/43943b452c0e
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2b1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: