Index: Source/core/svg/graphics/SVGImage.cpp |
diff --git a/Source/core/svg/graphics/SVGImage.cpp b/Source/core/svg/graphics/SVGImage.cpp |
index 57c8ed45c144cb26cd2cc1c8f1638d0d60f4b36b..17a154dd4afe0b655cd08a20a624727e282fbc7e 100644 |
--- a/Source/core/svg/graphics/SVGImage.cpp |
+++ b/Source/core/svg/graphics/SVGImage.cpp |
@@ -428,7 +428,7 @@ bool SVGImage::dataChanged(bool allDataReceived) |
Page::PageClients pageClients; |
fillWithEmptyClients(pageClients); |
- m_chromeClient = adoptPtr(new SVGImageChromeClient(this)); |
+ m_chromeClient = SVGImageChromeClient::create(this); |
pageClients.chromeClient = m_chromeClient.get(); |
// FIXME: If this SVG ends up loading itself, we might leak the world. |