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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.h

Issue 2350063002: Replace FilterData::filter with lastEffect (Closed)
Patch Set: 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 | « no previous file | third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.h
index fc5cf5d00845277e5e183ed7c966fb0561882733..0131b50202f253d9606b820f5050e287333e23a9 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.h
@@ -25,12 +25,14 @@
#define LayoutSVGResourceFilter_h
#include "core/layout/svg/LayoutSVGResourceContainer.h"
-#include "core/svg/SVGFilterElement.h"
-#include "core/svg/graphics/filters/SVGFilterBuilder.h"
-#include "platform/graphics/filters/Filter.h"
+#include "core/svg/SVGUnitTypes.h"
namespace blink {
+class FilterEffect;
+class SVGFilterElement;
+class SVGFilterGraphNodeMap;
+
class FilterData final : public GarbageCollected<FilterData> {
public:
/*
@@ -58,7 +60,7 @@ public:
DECLARE_TRACE();
- Member<Filter> filter;
+ Member<FilterEffect> lastEffect;
Member<SVGFilterGraphNodeMap> nodeMap;
FilterDataState m_state;
@@ -81,8 +83,8 @@ public:
FloatRect resourceBoundingBox(const LayoutObject*);
- SVGUnitTypes::SVGUnitType filterUnits() const { return toSVGFilterElement(element())->filterUnits()->currentValue()->enumValue(); }
- SVGUnitTypes::SVGUnitType primitiveUnits() const { return toSVGFilterElement(element())->primitiveUnits()->currentValue()->enumValue(); }
+ SVGUnitTypes::SVGUnitType filterUnits() const;
+ SVGUnitTypes::SVGUnitType primitiveUnits() const;
void primitiveAttributeChanged(LayoutObject*, const QualifiedName&);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698