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

Unified Diff: third_party/WebKit/Source/core/style/SVGComputedStyleDefs.cpp

Issue 2322343003: Add support for <basic-shape> to 'clip-path' on SVG elements (Closed)
Patch Set: Update SPv2 expectations 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
« no previous file with comments | « third_party/WebKit/Source/core/style/SVGComputedStyleDefs.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/SVGComputedStyleDefs.cpp
diff --git a/third_party/WebKit/Source/core/style/SVGComputedStyleDefs.cpp b/third_party/WebKit/Source/core/style/SVGComputedStyleDefs.cpp
index c07f35ea9d869f9156f100d28fe3f9f79ed428ce..27964c4633a67c325cc4bb5918e3050ca2bc8e2b 100644
--- a/third_party/WebKit/Source/core/style/SVGComputedStyleDefs.cpp
+++ b/third_party/WebKit/Source/core/style/SVGComputedStyleDefs.cpp
@@ -1,3 +1,4 @@
+
/*
Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
2004, 2005, 2007 Rob Buis <buis@kde.org>
@@ -157,21 +158,21 @@ bool StyleMiscData::operator==(const StyleMiscData& other) const
}
StyleResourceData::StyleResourceData()
- : clipper(SVGComputedStyle::initialClipperResource())
+ : clipPath(SVGComputedStyle::initialClipPath())
, masker(SVGComputedStyle::initialMaskerResource())
{
}
StyleResourceData::StyleResourceData(const StyleResourceData& other)
: RefCounted<StyleResourceData>()
- , clipper(other.clipper)
+ , clipPath(other.clipPath)
, masker(other.masker)
{
}
bool StyleResourceData::operator==(const StyleResourceData& other) const
{
- return clipper == other.clipper
+ return dataEquivalent(clipPath, other.clipPath)
&& masker == other.masker;
}
« no previous file with comments | « third_party/WebKit/Source/core/style/SVGComputedStyleDefs.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698