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

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

Issue 2368043002: [SPv2] Separate SVG root viewport clip from overflow clip. (Closed)
Patch Set: none Created 4 years, 3 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/PaintPropertyTreeBuilderTest.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
index 4c2771674bb72f5d1cb9fca1395d44641288d4df..84339fddd090918f33a6650090b0bb83f8fc8dde 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
@@ -1969,7 +1969,7 @@ TEST_P(PaintPropertyTreeBuilderTest, SVGRootClip)
" <rect width='200' height='200' fill='red' />"
"</svg>");
- const ClipPaintPropertyNode* clip = getLayoutObjectByElementId("svg")->objectPaintProperties()->overflowClip();
+ const ClipPaintPropertyNode* clip = getLayoutObjectByElementId("svg")->objectPaintProperties()->svgRootViewportClip();
EXPECT_EQ(frameContentClip(), clip->parent());
EXPECT_EQ(FloatRoundedRect(8, 8, 100, 100), clip->clipRect());
}

Powered by Google App Engine
This is Rietveld 408576698