Index: Source/core/rendering/svg/RenderSVGResource.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGResource.cpp b/Source/core/rendering/svg/RenderSVGResource.cpp |
index 1b10f7203a358b7e1d804bbc75be4a77a9002a8a..4dd3ae01c903d16b612a898cf3f84a57729e894b 100644 |
--- a/Source/core/rendering/svg/RenderSVGResource.cpp |
+++ b/Source/core/rendering/svg/RenderSVGResource.cpp |
@@ -203,7 +203,7 @@ void RenderSVGResource::markForLayoutAndParentResourceInvalidation(RenderObject* |
if (current->isSVGResourceContainer()) { |
// This will process the rest of the ancestors. |
- current->toRenderSVGResourceContainer()->removeAllClientsFromCache(); |
+ toRenderSVGResourceContainer(current)->removeAllClientsFromCache(); |
break; |
} |