Index: Source/core/rendering/svg/RenderSVGImage.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGImage.cpp b/Source/core/rendering/svg/RenderSVGImage.cpp |
index 443819095b2b86f1067e2aad12d127da5c4dddfb..ff1908ee1fbf27e07f8c8731fc7e2ef20ce7140d 100644 |
--- a/Source/core/rendering/svg/RenderSVGImage.cpp |
+++ b/Source/core/rendering/svg/RenderSVGImage.cpp |
@@ -52,8 +52,13 @@ RenderSVGImage::RenderSVGImage(SVGImageElement* impl) |
RenderSVGImage::~RenderSVGImage() |
{ |
+} |
+ |
+void RenderSVGImage::destroy() |
+{ |
ImageQualityController::remove(this); |
m_imageResource->shutdown(); |
+ RenderSVGModelObject::destroy(); |
} |
bool RenderSVGImage::updateImageViewport() |