diff options
author | kaanb@chromium.org <kaanb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-11 03:51:13 +0000 |
---|---|---|
committer | kaanb@chromium.org <kaanb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-11 03:51:13 +0000 |
commit | bfedda1e129220274a9bf9cb12df4394f83fe7c2 (patch) | |
tree | b19d68b28de788f07660c17f87081b8bf0f17441 /android_webview/lib | |
parent | 14669c05771bde1b2f2dbd05597cd3cc7df59c78 (diff) | |
download | chromium_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.cc | 2 |
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. |