summaryrefslogtreecommitdiffstats
path: root/android_webview/lib
diff options
context:
space:
mode:
authorboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-20 09:56:49 +0000
committerboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-20 09:56:49 +0000
commit05513723e2fbe9d10cce77dde22a7d90b874dcd0 (patch)
treebfe24e8e3395dfd4333062727d287c7917f6a66b /android_webview/lib
parent9565f39257c0d477c63706d22651eae26da4614e (diff)
downloadchromium_src-05513723e2fbe9d10cce77dde22a7d90b874dcd0.zip
chromium_src-05513723e2fbe9d10cce77dde22a7d90b874dcd0.tar.gz
chromium_src-05513723e2fbe9d10cce77dde22a7d90b874dcd0.tar.bz2
[Android WebView] Disable Accelerated 2D Canvas
Ganesh backed canvas is not yet working in the single-process merged thread architecture. It is also causing crashes on sites using it. BUG=276001 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/23341002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218436 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/lib')
-rw-r--r--android_webview/lib/main/aw_main_delegate.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index 12288cd..6843a74 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -62,6 +62,9 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
// Not yet secure in single-process mode.
cl->AppendSwitch(switches::kDisableExperimentalWebGL);
+ // Ganesh backed 2D-Canvas is not yet working and causes crashes.
+ cl->AppendSwitch(switches::kDisableAccelerated2dCanvas);
+
return false;
}