summaryrefslogtreecommitdiffstats
path: root/android_webview/lib
diff options
context:
space:
mode:
authorkaanb@chromium.org <kaanb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-11 03:51:13 +0000
committerkaanb@chromium.org <kaanb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-11 03:51:13 +0000
commitbfedda1e129220274a9bf9cb12df4394f83fe7c2 (patch)
treeb19d68b28de788f07660c17f87081b8bf0f17441 /android_webview/lib
parent14669c05771bde1b2f2dbd05597cd3cc7df59c78 (diff)
downloadchromium_src-bfedda1e129220274a9bf9cb12df4394f83fe7c2.zip
chromium_src-bfedda1e129220274a9bf9cb12df4394f83fe7c2.tar.gz
chromium_src-bfedda1e129220274a9bf9cb12df4394f83fe7c2.tar.bz2
Enable MapImage API for Android Webview HW mode. Bypassing CQ since this change only affects a currently disabled path in Android WebView.
NOTRY=true BUG=175012 Review URL: https://chromiumcodereview.appspot.com/16524002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/lib')
-rw-r--r--android_webview/lib/main/aw_main_delegate.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index b388641..904a56a 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -60,6 +60,8 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
cl->AppendSwitch(switches::kEnableWebViewSynchronousAPIs);
} else {
cl->AppendSwitch(switches::kEnableBeginFrameScheduling);
+ if (!cl->HasSwitch("disable-map-image"))
+ cl->AppendSwitch(cc::switches::kUseMapImage);
}
// WebView uses the existing Android View edge effect for overscroll glow.