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

Issue 2358813002: [css-grid] Remove redundant setNeedsLayout() call (Closed)

Created:
4 years, 3 months ago by svillar
Modified:
4 years, 3 months ago
CC:
chromium-reviews, jfernandez, szager+layoutwatch_chromium.org, zoltan1, Manuel Rego, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, svillar, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[css-grid] Remove redundant setNeedsLayout() call This extra call inside dirtyGrid() method was added as part of crrev.com/887633002 as part of a fix for a crash. By that time the crash was fixed but perhaps the underlying cause was not the lack of this extra setNeedsLayout(). I've verified that the assertion is no longer triggered (by adding it back as it was removed) and that the original test case that was crashing works fine. This was double checked in an ASAN Debug build after running the test for more than 10 minutes. This removal will allow us to call dirtyGrid() even during intrinsic size computation once all the attributes with cached data become mutable. Committed: https://crrev.com/c113591d7ee0f0e03ad67b494b3ae4bb87de5911 Cr-Commit-Position: refs/heads/master@{#420303}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -7 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutGrid.cpp View 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
svillar
4 years, 3 months ago (2016-09-21 14:07:47 UTC) #2
leca6121
On 2016/09/21 14:07:47, svillar wrote: Thaongoc
4 years, 3 months ago (2016-09-21 14:11:05 UTC) #3
leca6121
4 years, 3 months ago (2016-09-21 14:11:39 UTC) #4
cbiesinger
lgtm
4 years, 3 months ago (2016-09-21 16:38:45 UTC) #7
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/2358813002/1
4 years, 3 months ago (2016-09-22 10:14:00 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-22 11:30:24 UTC) #13
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 11:33:25 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c113591d7ee0f0e03ad67b494b3ae4bb87de5911
Cr-Commit-Position: refs/heads/master@{#420303}

Powered by Google App Engine
This is Rietveld 408576698