From bfedda1e129220274a9bf9cb12df4394f83fe7c2 Mon Sep 17 00:00:00 2001 From: "kaanb@chromium.org" Date: Tue, 11 Jun 2013 03:51:13 +0000 Subject: 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 --- android_webview/lib/main/aw_main_delegate.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'android_webview/lib') 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. -- cgit v1.1