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

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

Issue 2770763002: [SPv2] Don't paint invisible PaintLayers with transform animations. (Closed)
Patch Set: Created 3 years, 9 months 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
Index: third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
index aa63b15fee9840d7b799655f02dc440f1be828e7..8165be07c17c0a1bc1d635920683fca0955c750e 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
@@ -76,10 +76,7 @@ bool PaintLayerPainter::paintedOutputInvisible(
const EffectPaintPropertyNode* effect =
layoutObject.paintProperties()->effect();
- const TransformPaintPropertyNode* transform =
- layoutObject.paintProperties()->transform();
- if ((effect && effect->requiresCompositingForAnimation()) ||
- (transform && transform->requiresCompositingForAnimation())) {
+ if (effect && effect->requiresCompositingForAnimation()) {
return false;
}
}

Powered by Google App Engine
This is Rietveld 408576698