Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(45)

Issue 1144203009: Strengthen the LayoutGrid dirtiness asserts. (Closed)

Created:
4 years, 11 months ago by esprehn
Modified:
4 years, 11 months ago
CC:
blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-rendering, dshwang, eae+blinkwatch, jchaffraix+rendering, jfernandez, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, Manuel Rego, slimming-paint-reviews_chromium.org, svillar, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Strengthen the LayoutGrid dirtiness asserts. We should assert the grid isn't dirty in all the major accessors and also move the dirty early out into the dirtyGrid() method instead of duplicating it at call sites. This also adds the early out to other call sites that were missing it. R=ojan@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196433

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -24 lines) Patch
M Source/core/layout/LayoutGrid.h View 3 chunks +32 lines, -11 lines 0 comments Download
M Source/core/layout/LayoutGrid.cpp View 5 chunks +8 lines, -12 lines 2 comments Download
M Source/core/paint/GridPainter.cpp View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1144203009/1
4 years, 11 months ago (2015-06-03 05:05:05 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2015-06-03 07:33:13 UTC) #4
svillar
Informally lgtm https://codereview.chromium.org/1144203009/diff/1/Source/core/layout/LayoutGrid.cpp File Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/1144203009/diff/1/Source/core/layout/LayoutGrid.cpp#newcode41 Source/core/layout/LayoutGrid.cpp:41: class GridItemWithSpan; Why this?
4 years, 11 months ago (2015-06-03 09:27:33 UTC) #6
esprehn
https://codereview.chromium.org/1144203009/diff/1/Source/core/layout/LayoutGrid.cpp File Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/1144203009/diff/1/Source/core/layout/LayoutGrid.cpp#newcode41 Source/core/layout/LayoutGrid.cpp:41: class GridItemWithSpan; On 2015/06/03 at 09:27:33, svillar wrote: > ...
4 years, 11 months ago (2015-06-03 16:39:11 UTC) #7
ojan
lgtm
4 years, 11 months ago (2015-06-03 21:29:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1144203009/1
4 years, 11 months ago (2015-06-03 21:30:34 UTC) #10
commit-bot: I haz the power
4 years, 11 months ago (2015-06-03 21:37:54 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196433

Powered by Google App Engine
This is Rietveld 408576698