Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2454)

Unified Diff: Source/web/WebEmbeddedWorkerImpl.cpp

Issue 261143003: Change default force composite setting to true (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/testing/DummyPageHolder.cpp ('k') | Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/core/testing/DummyPageHolder.cpp ('k') | Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698