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

Unified Diff: third_party/WebKit/Source/core/style/SVGComputedStyle.h

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/style/SVGComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/SVGComputedStyle.h b/third_party/WebKit/Source/core/style/SVGComputedStyle.h
index 479d57a06e8d98d6ca7d742ee16d4657c4a087df..a1caff302ed8a29aebf297871d64b882194695c2 100644
--- a/third_party/WebKit/Source/core/style/SVGComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/SVGComputedStyle.h
@@ -87,7 +87,6 @@ public:
static float initialFloodOpacity() { return 1; }
static Color initialFloodColor() { return Color(0, 0, 0); }
static Color initialLightingColor() { return Color(255, 255, 255); }
- static ClipPathOperation* initialClipPath() { return nullptr; }
static const AtomicString& initialMaskerResource() { return nullAtom; }
static const AtomicString& initialMarkerStartResource() { return nullAtom; }
static const AtomicString& initialMarkerMidResource() { return nullAtom; }
@@ -273,12 +272,6 @@ public:
}
// Setters for non-inherited resources
- void setClipPath(PassRefPtr<ClipPathOperation> operation)
- {
- if (resources->clipPath != operation)
- resources.access()->clipPath = operation;
- }
-
void setMaskerResource(const AtomicString& obj)
{
if (!(resources->masker == obj))
@@ -345,7 +338,6 @@ public:
const Length& r() const { return geometry->r; }
const Length& rx() const { return geometry->rx; }
const Length& ry() const { return geometry->ry; }
- ClipPathOperation* clipPath() const { return resources->clipPath.get(); }
const AtomicString& maskerResource() const { return resources->masker; }
const AtomicString& markerStartResource() const { return inheritedResources->markerStart; }
const AtomicString& markerMidResource() const { return inheritedResources->markerMid; }
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | third_party/WebKit/Source/core/style/SVGComputedStyleDefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698