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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp

Issue 2312713002: Unprefix -webkit-clip-path (Closed)
Patch Set: Baselines 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/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;
}

Powered by Google App Engine
This is Rietveld 408576698