Index: third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
index 91b0b43027f015e2a2faf4c7f0aee92881794ad6..4d6f39c8c49a226e0591cb53fbadb43ea870a888 100644 |
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
@@ -125,7 +125,7 @@ void WebSharedWorkerImpl::initializeLoader() |
// loading requests from the worker context to the rest of WebKit and Chromium |
// infrastructure. |
DCHECK(!m_webView); |
- m_webView = WebView::create(0); |
+ m_webView = WebView::create(nullptr, WebPageVisibilityStateVisible); |
// FIXME: http://crbug.com/363843. This needs to find a better way to |
// not create graphics layers. |
m_webView->settings()->setAcceleratedCompositingEnabled(false); |