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

Issue 211613002: [repaint-after-layout] Skip full repaint if the style difference is layout. (Closed)

Created:
6 years, 9 months ago by dsinclair
Modified:
6 years, 8 months ago
CC:
blink-reviews, bemjb+rendering_chromium.org, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., rune+blink
Visibility:
Public.

Description

[repaint-after-layout] Skip full repaint if the style difference is layout. Currently in RenderBox::styleWillChange we will issue a view()->repaint() if the node is the HTML or body element and the diff >= StyleDifferenceRepaint. For repaint-after-layout, if this is StyleDifferenceLayout, we will do the layout and end up issuing the same invalidation again. This CL makes the view()->repaint() call conditional on either 1) repaint-after-layout is disabled 2) this is not a StyleDifferenceLayout. BUG=320139 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169984

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M Source/core/rendering/RenderBox.cpp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
dsinclair
PTAL.
6 years, 9 months ago (2014-03-25 19:33:17 UTC) #1
esprehn
lgtm, but why does it matter if we issue duplicate invalidations?
6 years, 9 months ago (2014-03-25 19:35:15 UTC) #2
dsinclair
On 2014/03/25 19:35:15, esprehn wrote: > lgtm, but why does it matter if we issue ...
6 years, 9 months ago (2014-03-25 19:39:27 UTC) #3
dsinclair
The CQ bit was checked by dsinclair@chromium.org
6 years, 9 months ago (2014-03-25 19:43:59 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dsinclair@chromium.org/211613002/1
6 years, 9 months ago (2014-03-25 19:44:05 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-25 21:53:45 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-25 21:53:45 UTC) #7
esprehn
fast/dom/shadow/access-document-of-detached-stylesheetlist-crash.html failed twice, was that you?
6 years, 9 months ago (2014-03-25 21:55:41 UTC) #8
dsinclair
I don't think so. It crashed in the dom window destructor in part of the ...
6 years, 9 months ago (2014-03-25 22:47:19 UTC) #9
esprehn
The CQ bit was checked by esprehn@chromium.org
6 years, 9 months ago (2014-03-25 23:10:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dsinclair@chromium.org/211613002/1
6 years, 9 months ago (2014-03-25 23:10:19 UTC) #11
commit-bot: I haz the power
Change committed as 169984
6 years, 9 months ago (2014-03-26 00:12:01 UTC) #12
leviw_travelin_and_unemployed
On 2014/03/26 00:12:01, I haz the power (commit-bot) wrote: > Change committed as 169984 This ...
6 years, 8 months ago (2014-04-22 22:13:18 UTC) #13
dsinclair
6 years, 8 months ago (2014-04-22 23:38:32 UTC) #14
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/246393009/ by dsinclair@chromium.org.

The reason for reverting is: Breaks
fast/repaint/positioned-document-element.html..

Powered by Google App Engine
This is Rietveld 408576698