Index: third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp b/third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp |
index 8645e8bc4304fb397260bd78b47111d9c5b9db96..9f5199c61b4e2b6d4ea99b0760c87b72dd0b3fc1 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp |
@@ -30,6 +30,11 @@ |
void TearDown() override { |
LayoutTestSupport::setMockThemeEnabledForTest(false); |
RenderingTest::TearDown(); |
+ } |
+ |
+ bool geometryMapperCacheEmpty(const PaintLayerClipper& clipper) { |
+ return clipper.m_geometryMapper->m_transformCache.isEmpty() && |
+ clipper.m_geometryMapper->m_clipCache.isEmpty(); |
} |
}; |