summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/src/WebHelperPluginImpl.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-09-26 10:42:44 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2012-09-26 10:42:44 +0200
commit33b26980cb24288b5a9f2590ccf32a949281bb79 (patch)
treecc0203dac37338b24b0b25a4694c0b76d4e4164b /Source/WebKit/chromium/src/WebHelperPluginImpl.cpp
parent715be629d51174233403237bfc563cf150087dc8 (diff)
downloadqtwebkit-33b26980cb24288b5a9f2590ccf32a949281bb79.tar.gz
Imported WebKit commit c596dd7f03007fa7ed896b928106497e8784b3b5 (http://svn.webkit.org/repository/webkit/trunk@129610)
New snapshot that removes QtQuick1 support (to be moved into QtQuick1 module)
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.