Index: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp |
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp |
index d174f151e13ef9082cb12687c072a3ed455ffbc0..0c03f83c4b610d6f52a380edfd249c2b04711e16 100644 |
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp |
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp |
@@ -468,7 +468,7 @@ bool SVGImage::dataChanged(bool allDataReceived) |
OwnPtrWillBeRawPtr<Page> page; |
{ |
TRACE_EVENT0("blink", "SVGImage::dataChanged::createPage"); |
- page = adoptPtrWillBeNoop(new Page(pageClients)); |
+ page = Page::create(pageClients); |
page->settings().setScriptEnabled(false); |
page->settings().setPluginsEnabled(false); |
page->settings().setAcceleratedCompositingEnabled(false); |