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&); |