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

Issue 2191953002: Fix asserts when updating shouldPaint for floating objects. (Closed)

Created:
4 years, 4 months ago by chrishtr
Modified:
4 years, 4 months ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, slimming-paint-reviews_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 asserts when updating shouldPaint for floating objects. The assert would trigger when loading fast/overflow/overflow-float-stacking.html if --enable-prefer-compositing-to-lcd-text was true, because LayoutBlockFlow::setAncestorShouldPaintFloatingObject asserted that the floating object is not self-painting. But that method could be called when transitioning from not-self-painting to self-painting, so the assert appears bogus. Committed: https://crrev.com/c66072d18271173b0b61e943c65c0c95ea2afb4b Cr-Commit-Position: refs/heads/master@{#408527}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -6 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp View 2 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (8 generated)
chrishtr
4 years, 4 months ago (2016-07-28 20:48:43 UTC) #3
Xianzhu
lgtm
4 years, 4 months ago (2016-07-28 20:57:50 UTC) #6
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/2191953002/1
4 years, 4 months ago (2016-07-29 00:14:25 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-07-29 00:18:08 UTC) #11
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 00:21:09 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c66072d18271173b0b61e943c65c0c95ea2afb4b
Cr-Commit-Position: refs/heads/master@{#408527}

Powered by Google App Engine
This is Rietveld 408576698