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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp

Issue 2657863004: Move scroll paint property nodes to be owned by the transform tree (Closed)
Patch Set: Rebase & remove parens Created 3 years, 11 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/svg/graphics/SVGImage.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
index 891ab6ff3816ceb42634602ea6476666814d0d70..d7eb33f9cda5b25b13a107ec175f10969e7d3a2c 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
@@ -292,9 +292,9 @@ void SVGImage::drawPatternForContainer(GraphicsContext& context,
// from the embedding frame tree.
if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
PaintChunk::Id id(patternPicture, DisplayItem::kSVGImage);
- PropertyTreeState state(
- TransformPaintPropertyNode::root(), ClipPaintPropertyNode::root(),
- EffectPaintPropertyNode::root(), ScrollPaintPropertyNode::root());
+ PropertyTreeState state(TransformPaintPropertyNode::root(),
+ ClipPaintPropertyNode::root(),
+ EffectPaintPropertyNode::root());
m_paintController->updateCurrentPaintChunkProperties(&id, state);
}
@@ -393,9 +393,9 @@ void SVGImage::drawInternal(SkCanvas* canvas,
// from the embedding frame tree.
if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
PaintChunk::Id id(imagePicture, DisplayItem::kSVGImage);
- PropertyTreeState state(
- TransformPaintPropertyNode::root(), ClipPaintPropertyNode::root(),
- EffectPaintPropertyNode::root(), ScrollPaintPropertyNode::root());
+ PropertyTreeState state(TransformPaintPropertyNode::root(),
+ ClipPaintPropertyNode::root(),
+ EffectPaintPropertyNode::root());
m_paintController->updateCurrentPaintChunkProperties(&id, state);
}

Powered by Google App Engine
This is Rietveld 408576698