| 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 dfec8a877fea9133e4eacad7bdcbe4b915baf6dd..cc36ac5a973eb3f809b8ed83f31fb6039c5e9f2d 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 (styleRef().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->clipPath()) {
|
| m_clipContentPath.clear();
|
| return false;
|
| }
|
|
|