Index: third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
index 71931577455e50b5585c09fe80b1fd1c09e067a8..055c78e69698bdc9bf36bd1a6c8c0fc90b231646 100644 |
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
@@ -245,7 +245,7 @@ bool WebPagePopupImpl::initializePage() |
m_chromeClient = PagePopupChromeClient::create(this); |
pageClients.chromeClient = m_chromeClient.get(); |
- m_page = adoptPtrWillBeNoop(new Page(pageClients)); |
+ m_page = Page::create(pageClients); |
m_page->settings().setScriptEnabled(true); |
m_page->settings().setAllowScriptsToCloseWindows(true); |
m_page->settings().setDeviceSupportsTouch(m_webView->page()->settings().deviceSupportsTouch()); |