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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTest.cpp

Issue 2604083002: Remove infinite clip in PaintArtifactCompositor. (Closed)
Patch Set: none 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/platform/graphics/paint/GeometryMapper.h ('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/platform/graphics/paint/GeometryMapperTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTest.cpp b/third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTest.cpp
index e9533d8c4c1695bb69199edb29b7da22cbc268b3..3b15334881a06b408d22d3c5e17f08e164a85a38 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTest.cpp
@@ -77,6 +77,10 @@ const static float kTestEpsilon = 1e-6;
inputRect, localPropertyTreeState, \
ancestorPropertyTreeState, success)); \
EXPECT_TRUE(success); \
+ FloatRect mappedClip = geometryMapper->localToAncestorClipRect( \
+ localPropertyTreeState, ancestorPropertyTreeState, success); \
+ EXPECT_TRUE(success); \
+ EXPECT_RECT_EQ(expectedClipInAncestorSpace, mappedClip); \
EXPECT_RECT_EQ(expectedVisualRect, \
geometryMapper->mapToVisualRectInDestinationSpace( \
inputRect, localPropertyTreeState, \
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698