DescriptionAdd RenderObject::needsResizeLayout
Originally we use setNeedsLayout to schedule layout for resizes, which
causes full layouts that may be unnecessary in many cases.
Add RenderObject::needsResizeLayout to schedule such layouts. Handle
such layout in RenderBlock::simplifiedLayout() and fall back to full
layout if simplified layout is not feasible.
For now this flag is for RenderView only to optimize RenderView resize.
Generic resize layout needs more verifications.
BUG=258219, 310875
TEST=none because the flag has not been used yet. Will test in followup
changes.
Patch Set 1 #Patch Set 2 : Add needsResizeLayoutOnly #Patch Set 3 : Rebase #
Total comments: 4
Patch Set 4 : Rename internal setNeedsResizeLayout #
Total comments: 9
Patch Set 5 : RenderView::setNeedsResizeLayout() #Patch Set 6 : Not to touch RenderView for now #
Total comments: 1
Messages
Total messages: 13 (0 generated)
|