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

Unified Diff: Source/core/rendering/svg/RenderSVGImage.cpp

Issue 459353002: Oilpan: Move more code of RenderObject destructors to destroy(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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
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()

Powered by Google App Engine
This is Rietveld 408576698