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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.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/SVGLayoutSupport.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
index 2274567e7652b12f0a10ee97c7e662ef046ff8ea..dbc2c1f9700055e5e610295e06c2b052a2398409 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
@@ -370,7 +370,7 @@ bool SVGLayoutSupport::hasFilterResource(const LayoutObject& object)
bool SVGLayoutSupport::pointInClippingArea(const LayoutObject& object, const FloatPoint& point)
{
- ClipPathOperation* clipPathOperation = object.styleRef().svgStyle().clipPath();
+ ClipPathOperation* clipPathOperation = object.styleRef().clipPath();
if (!clipPathOperation)
return true;
if (clipPathOperation->type() == ClipPathOperation::SHAPE) {
@@ -437,7 +437,7 @@ bool SVGLayoutSupport::willIsolateBlendingDescendantsForStyle(const ComputedStyl
const SVGComputedStyle& svgStyle = style.svgStyle();
return style.hasIsolation() || style.opacity() < 1 || style.hasBlendMode()
- || style.hasFilter() || svgStyle.hasMasker() || svgStyle.clipPath();
+ || style.hasFilter() || svgStyle.hasMasker() || style.clipPath();
}
bool SVGLayoutSupport::willIsolateBlendingDescendantsForObject(const LayoutObject* object)

Powered by Google App Engine
This is Rietveld 408576698