Chromium Code Reviews
DescriptionRemove extraneous frameView->setNeedsLayout() in LayoutPart
This CL is one step towards having saner pixel snapping for sub-frames.
The goal is to remove dependencies to roundedIntRect, which is conceptually
incorrect and is inconsistent with other part of our code base.
The setNeedsLayout is extraneous because LayoutPart is not supposed to know
whether the sub-frame actually changed its layout size, and the FrameView is
responsible for scheduling layout if it decided to mutate layout size.
Committed: https://crrev.com/6f72ce705eea7d49483b1cc75439260ebde643c4
Cr-Commit-Position: refs/heads/master@{#408529}
Patch Set 1 #Patch Set 2 : remove bogus test #
Total comments: 4
Messages
Total messages: 13 (5 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||