Index: Source/core/rendering/svg/RenderSVGResource.h |
diff --git a/Source/core/rendering/svg/RenderSVGResource.h b/Source/core/rendering/svg/RenderSVGResource.h |
index 7a0189e31ae9dc25c18fd134b7821eac27c6b472..f887fba5d5b860975ac81aa55ab508d7710b1371 100644 |
--- a/Source/core/rendering/svg/RenderSVGResource.h |
+++ b/Source/core/rendering/svg/RenderSVGResource.h |
@@ -26,16 +26,6 @@ |
namespace blink { |
-enum RenderSVGResourceType { |
- MaskerResourceType, |
- MarkerResourceType, |
- PatternResourceType, |
- LinearGradientResourceType, |
- RadialGradientResourceType, |
- FilterResourceType, |
- ClipperResourceType |
-}; |
- |
enum RenderSVGResourceMode { |
ApplyToFillMode, |
ApplyToStrokeMode, |
@@ -90,17 +80,12 @@ public: |
virtual SVGPaintServer preparePaintServer(const RenderObject&); |
- virtual RenderSVGResourceType resourceType() const = 0; |
- |
// Helper utilities used in to access the underlying resources for DRT. |
static SVGPaintDescription requestPaintDescription(const RenderObject&, const RenderStyle*, RenderSVGResourceMode); |
static void markForLayoutAndParentResourceInvalidation(RenderObject*, bool needsLayout = true); |
}; |
-#define DEFINE_RENDER_SVG_RESOURCE_TYPE_CASTS(thisType, typeName) \ |
- DEFINE_TYPE_CASTS(thisType, RenderSVGResource, resource, resource->resourceType() == typeName, resource.resourceType() == typeName) |
- |
} |
#endif |