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

Issue 2212223004: Fix wrong PaintInvalidationIncremental on empty object (Closed)

Created:
4 years, 4 months ago by Xianzhu
Modified:
4 years, 4 months ago
Reviewers:
chrishtr
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix wrong PaintInvalidationIncremental on empty object The bug was because LayoutBox::getPaintInvalidatinReason() returned PaintInvalidationIncremental after LayoutObject::getPaintInvalidationReason() returned PaintInvalidationNone for an empty object. In the case we should not do any paint invalidation but executed incrementallyInvalidatePaint() and triggered the assertion failure. BUG=634807 Committed: https://crrev.com/b9ec37cfc550102e95696f26173b95b729d00a60 Cr-Commit-Position: refs/heads/master@{#410231}

Patch Set 1 #

Patch Set 2 : - #

Patch Set 3 : - #

Patch Set 4 : - #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/paint/invalidation/empty-object-move-and-resize.html View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/paint/invalidation/empty-object-move-and-resize-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
Xianzhu
4 years, 4 months ago (2016-08-05 18:31:52 UTC) #3
chrishtr
Could you explain briefly how the bug exhibits and why this is the right fix?
4 years, 4 months ago (2016-08-05 20:22:43 UTC) #7
Xianzhu
On 2016/08/05 20:22:43, chrishtr wrote: > Could you explain briefly how the bug exhibits and ...
4 years, 4 months ago (2016-08-05 20:30:36 UTC) #9
chrishtr
lgtm
4 years, 4 months ago (2016-08-05 20:39:13 UTC) #10
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/2212223004/40001
4 years, 4 months ago (2016-08-05 20:48:58 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/275298)
4 years, 4 months ago (2016-08-05 22:09:11 UTC) #15
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/2212223004/60001
4 years, 4 months ago (2016-08-05 23:12:09 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-06 00:43:49 UTC) #20
commit-bot: I haz the power
4 years, 4 months ago (2016-08-06 00:45:46 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b9ec37cfc550102e95696f26173b95b729d00a60
Cr-Commit-Position: refs/heads/master@{#410231}

Powered by Google App Engine
This is Rietveld 408576698