Index: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
index 7c3e78c269685851819ae4adfb9e0d8eb28bede5..b556f7269806ccfd6ad61e31d108aa494e3f0392 100644 |
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
@@ -274,7 +274,7 @@ void WebEmbeddedWorkerImpl::prepareShadowPageForLoader() |
// This code, and probably most of the code in this class should be shared |
// with SharedWorker. |
DCHECK(!m_webView); |
- m_webView = WebView::create(0); |
+ m_webView = WebView::create(nullptr, WebPageVisibilityStateVisible); |
WebSettings* settings = m_webView->settings(); |
// FIXME: http://crbug.com/363843. This needs to find a better way to |
// not create graphics layers. |