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

Unified Diff: Source/core/svg/SVGFilterPrimitiveStandardAttributes.h

Issue 18707002: Reduce number of header includes in SVG (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add Samsung copyright Created 7 years, 5 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 | « Source/core/svg/SVGFilterElement.cpp ('k') | Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFilterPrimitiveStandardAttributes.h
diff --git a/Source/core/svg/SVGFilterPrimitiveStandardAttributes.h b/Source/core/svg/SVGFilterPrimitiveStandardAttributes.h
index 18870abf9019fadcda0a7f5812325929fb0fb4d9..776ed346d9f3ce045e42b44f1bf9a8e4d79a9e2b 100644
--- a/Source/core/svg/SVGFilterPrimitiveStandardAttributes.h
+++ b/Source/core/svg/SVGFilterPrimitiveStandardAttributes.h
@@ -21,8 +21,7 @@
#ifndef SVGFilterPrimitiveStandardAttributes_h
#define SVGFilterPrimitiveStandardAttributes_h
-#include "core/rendering/svg/RenderSVGResourceFilter.h"
-#include "core/rendering/svg/RenderSVGResourceFilterPrimitive.h"
+#include "core/rendering/svg/RenderSVGResource.h"
#include "core/svg/SVGAnimatedLength.h"
#include "core/svg/SVGAnimatedString.h"
#include "core/svg/SVGStyledElement.h"
@@ -34,6 +33,7 @@ namespace WebCore {
class Filter;
class FilterEffect;
+class RenderSVGResourceFilterPrimitive;
class SVGFilterBuilder;
class SVGFilterPrimitiveStandardAttributes : public SVGStyledElement {
@@ -58,11 +58,7 @@ protected:
RenderSVGResource::markForLayoutAndParentResourceInvalidation(primitiveRenderer);
}
- inline void primitiveAttributeChanged(const QualifiedName& attribute)
- {
- if (RenderObject* primitiveRenderer = renderer())
- static_cast<RenderSVGResourceFilterPrimitive*>(primitiveRenderer)->primitiveAttributeChanged(attribute);
- }
+ void primitiveAttributeChanged(const QualifiedName&);
private:
virtual bool isFilterEffect() const { return true; }
« no previous file with comments | « Source/core/svg/SVGFilterElement.cpp ('k') | Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698