Index: third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp |
diff --git a/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp b/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp |
index 1d5d577c573e56c85b77ff6ce3b27572524aafdf..859a62f9d5eb1ed16af6fda721af4f8e9555c33e 100644 |
--- a/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp |
+++ b/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp |
@@ -200,7 +200,7 @@ WebViewImpl* WebViewHelper::initializeWithOpener(WebFrame* opener, bool enableJa |
webViewClient = defaultWebViewClient(); |
if (!webWidgetClient) |
webWidgetClient = webViewClient->widgetClient(); |
- m_webView = WebViewImpl::create(webViewClient); |
+ m_webView = WebViewImpl::create(webViewClient, WebPageVisibilityStateVisible); |
m_webView->settings()->setJavaScriptEnabled(enableJavascript); |
m_webView->settings()->setPluginsEnabled(true); |
// Enable (mocked) network loads of image URLs, as this simplifies |