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

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

Issue 2312713002: Unprefix -webkit-clip-path (Closed)
Patch Set: Rebase 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 11000e008bb0b2f8ab417d55bb67e2a2a709fe5c..c305fff1748d7ef8de49dffd30f99deaea8b63fe 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().clipPath())
+ 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().clipPath()) {
+ if (style->clipPath()) {
m_clipContentPath.clear();
return false;
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.cpp ('k') | third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698