Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp |
index f6665cf63897ea5b837b540b36c9e74b9685168d..11000e008bb0b2f8ab417d55bb67e2a2a709fe5c 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp |
@@ -66,7 +66,7 @@ bool LayoutSVGResourceClipper::calculateClipContentPathIfNeeded() |
return true; |
// If the current clip-path gets clipped itself, we have to fallback to masking. |
- if (style()->svgStyle().hasClipper()) |
+ if (style()->svgStyle().clipPath()) |
return false; |
unsigned opCount = 0; |
@@ -90,7 +90,7 @@ bool LayoutSVGResourceClipper::calculateClipContentPathIfNeeded() |
continue; |
// Current shape in clip-path gets clipped too. Fallback to masking. |
- if (style->svgStyle().hasClipper()) { |
+ if (style->svgStyle().clipPath()) { |
m_clipContentPath.clear(); |
return false; |
} |