Index: Source/WebKit/chromium/src/WebPagePopupImpl.cpp |
=================================================================== |
--- Source/WebKit/chromium/src/WebPagePopupImpl.cpp (revision 123706) |
+++ Source/WebKit/chromium/src/WebPagePopupImpl.cpp (working copy) |
@@ -190,6 +190,7 @@ |
m_page = adoptPtr(new Page(pageClients)); |
m_page->settings()->setScriptEnabled(true); |
m_page->settings()->setAllowScriptsToCloseWindows(true); |
+ m_page->setDeviceScaleFactor(m_webView->deviceScaleFactor()); |
static ContextFeaturesClient* pagePopupFeaturesClient = new PagePopupFeaturesClient(); |
provideContextFeaturesTo(m_page.get(), pagePopupFeaturesClient); |