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

Issue 1965893007: Fix blink_perf.css.CSSPropertySetterGetter failure (Closed)

Created:
4 years, 7 months ago by Xianzhu
Modified:
4 years, 7 months ago
Reviewers:
chrishtr, trchen
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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix blink_perf.css.CSSPropertySetterGetter failure LayoutBoxModelObject::styleWillChange() assumed hasLayer() when it sees StyleDifference::needsPaintInvalidationSubtree(). https://codereview.chromium.org/1950573003/ broke the assumption. Now check hasLayer(). Added a test based on blink_perf.css.CSSPropertySetterGetter. BUG=611060 TEST=fast/css/css-property-setter-getter.html R=trchen@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/3a05db510a333ebcd1724213d4f7a4cbea2e73a7

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -16 lines) Patch
A + third_party/WebKit/LayoutTests/fast/css/css-property-setter-getter.html View 2 chunks +23 lines, -15 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/css-property-setter-getter-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (7 generated)
Xianzhu
4 years, 7 months ago (2016-05-11 18:08:33 UTC) #2
trchen
lgtm. BTW I think it should be safe to move the block to styleDidChange. Rarely ...
4 years, 7 months ago (2016-05-11 19:06:07 UTC) #6
Xianzhu
On 2016/05/11 19:06:07, trchen wrote: > lgtm. > > BTW I think it should be ...
4 years, 7 months ago (2016-05-11 19:07:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1965893007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1965893007/1
4 years, 7 months ago (2016-05-11 19:08:35 UTC) #9
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/3a05db510a333ebcd1724213d4f7a4cbea2e73a7 Cr-Commit-Position: refs/heads/master@{#393018}
4 years, 7 months ago (2016-05-11 19:21:08 UTC) #11
Xianzhu
4 years, 7 months ago (2016-05-11 19:21:56 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
3a05db510a333ebcd1724213d4f7a4cbea2e73a7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698