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

Unified Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp

Issue 2574293003: [SPInvalidation] Update paint properties when layer or paintsWithTransform status change (Closed)
Patch Set: Also fix paintOffsetTranslation Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
index e388aaff88dbc94db86bc74a32d1a0c531bf55e1..61fc5abb3983766c251e52fe39ed7285f05e80cd 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
@@ -219,7 +219,8 @@ void PaintPropertyTreeBuilder::updatePaintOffsetTranslation(
context.current.paintOffset != LayoutPoint()) {
// TODO(trchen): Eliminate PaintLayer dependency.
PaintLayer* layer = toLayoutBoxModelObject(object).layer();
- if (layer && layer->paintsWithTransform(GlobalPaintNormalPhase))
+ if (layer &&
+ layer->paintsWithTransform(GlobalPaintFlattenCompositingLayers))
Xianzhu 2016/12/14 18:41:00 This avoids paintsWithTransform from depending on
pdr. 2016/12/14 21:52:53 "compositingState() != PaintsIntoOwnBacking" shoul
Xianzhu 2016/12/14 22:02:31 When you posted this comment, I just uploaded a pa
usesPaintOffsetTranslation = true;
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698