summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/src/WebHelperPluginImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/src/WebHelperPluginImpl.cpp')
-rw-r--r--Source/WebKit/chromium/src/WebHelperPluginImpl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WebKit/chromium/src/WebHelperPluginImpl.cpp b/Source/WebKit/chromium/src/WebHelperPluginImpl.cpp
index afa3701aa..00991712d 100644
--- a/Source/WebKit/chromium/src/WebHelperPluginImpl.cpp
+++ b/Source/WebKit/chromium/src/WebHelperPluginImpl.cpp
@@ -184,6 +184,9 @@ bool WebHelperPluginImpl::initPage(WebKit::WebViewImpl* webView, const String& p
m_page->settings()->setScriptEnabled(true);
m_page->settings()->setPluginsEnabled(true);
+ unsigned layoutMilestones = DidFirstLayout | DidFirstVisuallyNonEmptyLayout;
+ m_page->addLayoutMilestones(static_cast<LayoutMilestones>(layoutMilestones));
+
webView->client()->initializeHelperPluginWebFrame(this);
// The page's main frame was set in initializeFrame() as a result of the above call.