Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(978)

Issue 2570643002: Only the first layout pass needs to go deep when pagination state changes. (Closed)

Created:
4 years ago by mstensho (USE GERRIT)
Modified:
4 years ago
Reviewers:
szager1
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Only the first layout pass needs to go deep when pagination state changes. Since we now re-use the LayoutState object in multipass layout (caused by either fragmentation or the PaintLayerScrollableArea::FreezeScrollbarsScope mechanism), we need to notify the LayoutState object when we have performed the necessary deep layout pass, so that not all subsequent passes also go deep needlessly. BUG=672088 Committed: https://crrev.com/aa1f4b1278d33e302c40a6879614ec2c418aaf33 Cr-Commit-Position: refs/heads/master@{#438353}

Patch Set 1 #

Patch Set 2 : Different approach: establish separate LayoutState for in-flow and out-of-flow objects. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -9 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp View 1 2 chunks +17 lines, -9 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
mstensho (USE GERRIT)
Not very pretty, but it does what it says. :) Another option is of course ...
4 years ago (2016-12-13 07:45:10 UTC) #6
szager1
I'm not entirely comfortable with modifying a LayoutState in that way (although it's probably worth ...
4 years ago (2016-12-13 21:25:42 UTC) #7
mstensho (USE GERRIT)
On 2016/12/13 21:25:42, szager1 wrote: > I'm not entirely comfortable with modifying a LayoutState in ...
4 years ago (2016-12-13 22:20:37 UTC) #8
szager1
I like this one better. lgtm
4 years ago (2016-12-13 22:28:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2570643002/20001
4 years ago (2016-12-13 22:38:19 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-14 00:18:11 UTC) #14
commit-bot: I haz the power
4 years ago (2016-12-14 00:21:03 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/aa1f4b1278d33e302c40a6879614ec2c418aaf33
Cr-Commit-Position: refs/heads/master@{#438353}

Powered by Google App Engine
This is Rietveld 408576698