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

Issue 1900263002: Update PaintLayer::needsPaintPhase flags when layer self-painting status changes (Closed)

Created:
4 years, 8 months ago by Xianzhu
Modified:
4 years, 8 months ago
Reviewers:
pdr., chrishtr
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update PaintLayer::needsPaintPhase flags when layer self-painting status changes This had been included in https://codereview.chromium.org/1862313002/ before I removed it thinking that self-painting status should cause layout and paint invalidation. However, bug 604351 is a case that self-painting status change doesn't cause layout and paint invalidation. BUG=604351 TEST=PaintLayerPainterTest.PaintPhasesUpdateOnBecomingSelfPainting TEST=PaintLayerPainterTest.PaintPhasesUpdateOnBecomingNonSelfPainting Committed: https://crrev.com/2d55d696deec11d34539475374366a63d1dfd082 Cr-Commit-Position: refs/heads/master@{#388880}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -2 lines) Patch
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 chunk +10 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp View 1 1 chunk +52 lines, -0 lines 4 comments Download

Messages

Total messages: 18 (4 generated)
Xianzhu
4 years, 8 months ago (2016-04-19 19:10:44 UTC) #2
pdr.
https://codereview.chromium.org/1900263002/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): https://codereview.chromium.org/1900263002/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode2466 third_party/WebKit/Source/core/paint/PaintLayer.cpp:2466: if (PaintLayer* parent = this->parent()) { The tests in ...
4 years, 8 months ago (2016-04-19 21:17:57 UTC) #3
Xianzhu
https://codereview.chromium.org/1900263002/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): https://codereview.chromium.org/1900263002/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode2466 third_party/WebKit/Source/core/paint/PaintLayer.cpp:2466: if (PaintLayer* parent = this->parent()) { On 2016/04/19 21:17:57, ...
4 years, 8 months ago (2016-04-19 23:35:47 UTC) #4
pdr.
On 2016/04/19 at 23:35:47, wangxianzhu wrote: > https://codereview.chromium.org/1900263002/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp > File third_party/WebKit/Source/core/paint/PaintLayer.cpp (right): > > https://codereview.chromium.org/1900263002/diff/1/third_party/WebKit/Source/core/paint/PaintLayer.cpp#newcode2466 ...
4 years, 8 months ago (2016-04-20 00:01:05 UTC) #5
Xianzhu
On 2016/04/20 00:01:05, pdr wrote: > On 2016/04/19 at 23:35:47, wangxianzhu wrote: > > > ...
4 years, 8 months ago (2016-04-20 00:05:29 UTC) #6
Xianzhu
ping...
4 years, 8 months ago (2016-04-20 22:42:41 UTC) #7
pdr.
Overall this looks good, just one question. https://codereview.chromium.org/1900263002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp File third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp (right): https://codereview.chromium.org/1900263002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp#newcode427 third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp:427: " <div>" ...
4 years, 8 months ago (2016-04-20 23:13:39 UTC) #8
Xianzhu
https://codereview.chromium.org/1900263002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp File third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp (right): https://codereview.chromium.org/1900263002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp#newcode427 third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp:427: " <div>" On 2016/04/20 23:13:39, pdr wrote: > Why ...
4 years, 8 months ago (2016-04-21 00:42:35 UTC) #9
Xianzhu
https://codereview.chromium.org/1900263002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp File third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp (right): https://codereview.chromium.org/1900263002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp#newcode427 third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp:427: " <div>" On 2016/04/21 00:42:35, Xianzhu wrote: > On ...
4 years, 8 months ago (2016-04-21 01:03:41 UTC) #10
pdr.
https://codereview.chromium.org/1900263002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp File third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp (right): https://codereview.chromium.org/1900263002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp#newcode427 third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp:427: " <div>" On 2016/04/21 at 01:03:41, Xianzhu wrote: > ...
4 years, 8 months ago (2016-04-21 18:20:58 UTC) #12
pdr.
lgtm
4 years, 8 months ago (2016-04-21 19:09:24 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900263002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900263002/20001
4 years, 8 months ago (2016-04-21 19:10:25 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-21 20:34:36 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:38:47 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2d55d696deec11d34539475374366a63d1dfd082
Cr-Commit-Position: refs/heads/master@{#388880}

Powered by Google App Engine
This is Rietveld 408576698