Index: Source/core/rendering/svg/RenderSVGResource.h |
diff --git a/Source/core/rendering/svg/RenderSVGResource.h b/Source/core/rendering/svg/RenderSVGResource.h |
index 314a69e476b6347d2cc2dbde92fb2b69fcca966b..676562dd01cbf8f921714c67278c85323c8bfe58 100644 |
--- a/Source/core/rendering/svg/RenderSVGResource.h |
+++ b/Source/core/rendering/svg/RenderSVGResource.h |
@@ -82,6 +82,9 @@ public: |
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 |