Index: Source/web/WebEmbeddedWorkerImpl.cpp |
diff --git a/Source/web/WebEmbeddedWorkerImpl.cpp b/Source/web/WebEmbeddedWorkerImpl.cpp |
index 3ae3b25ddcbcb157c96c2489f4b0b70fb67fc1e7..aec57b4648edfe710b518a0a6d3a15b39a1a3d59 100644 |
--- a/Source/web/WebEmbeddedWorkerImpl.cpp |
+++ b/Source/web/WebEmbeddedWorkerImpl.cpp |
@@ -50,6 +50,7 @@ |
#include "platform/network/ContentSecurityPolicyParsers.h" |
#include "public/web/WebServiceWorkerContextClient.h" |
#include "public/web/WebServiceWorkerNetworkProvider.h" |
+#include "public/web/WebSettings.h" |
#include "public/web/WebView.h" |
#include "public/web/WebWorkerPermissionClientProxy.h" |
#include "web/ServiceWorkerGlobalScopeClientImpl.h" |
@@ -256,6 +257,9 @@ void WebEmbeddedWorkerImpl::prepareShadowPageForLoader() |
// with SharedWorker. |
ASSERT(!m_webView); |
m_webView = WebView::create(0); |
+ // FIXME: http://crbug.com/363843. This needs to find a better way to |
+ // not create graphics layers. |
+ m_webView->settings()->setAcceleratedCompositingEnabled(false); |
m_mainFrame = WebLocalFrame::create(this); |
m_webView->setMainFrame(m_mainFrame); |