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

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

Issue 1987943002: [wip] unprefix filter Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 77e513378db37232e1e9fb8d32918bfde5c4a952..5a074774481fbe5438223b338bcc194744eccf94 100644
--- a/third_party/WebKit/Source/core/style/SVGComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/SVGComputedStyle.h
@@ -84,7 +84,6 @@ public:
static Color initialFloodColor() { return Color(0, 0, 0); }
static Color initialLightingColor() { return Color(255, 255, 255); }
static const AtomicString& initialClipperResource() { return nullAtom; }
- static const AtomicString& initialFilterResource() { return nullAtom; }
static const AtomicString& initialMaskerResource() { return nullAtom; }
static const AtomicString& initialMarkerStartResource() { return nullAtom; }
static const AtomicString& initialMarkerMidResource() { return nullAtom; }
@@ -276,12 +275,6 @@ public:
resources.access()->clipper = obj;
}
- void setFilterResource(const AtomicString& obj)
- {
- if (!(resources->filter == obj))
- resources.access()->filter = obj;
- }
-
void setMaskerResource(const AtomicString& obj)
{
if (!(resources->masker == obj))
@@ -349,7 +342,6 @@ public:
const Length& rx() const { return layout->rx; }
const Length& ry() const { return layout->ry; }
const AtomicString& clipperResource() const { return resources->clipper; }
- const AtomicString& filterResource() const { return resources->filter; }
const AtomicString& maskerResource() const { return resources->masker; }
const AtomicString& markerStartResource() const { return inheritedResources->markerStart; }
const AtomicString& markerMidResource() const { return inheritedResources->markerMid; }
@@ -384,7 +376,6 @@ public:
// convenience
bool hasClipper() const { return !clipperResource().isEmpty(); }
bool hasMasker() const { return !maskerResource().isEmpty(); }
- bool hasFilter() const { return !filterResource().isEmpty(); }
bool hasMarkers() const { return !markerStartResource().isEmpty() || !markerMidResource().isEmpty() || !markerEndResource().isEmpty(); }
bool hasStroke() const { return strokePaintType() != SVG_PAINTTYPE_NONE; }
bool hasVisibleStroke() const { return hasStroke() && !strokeWidth().isZero(); }
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGPaintContext.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