summaryrefslogtreecommitdiffstats
path: root/android_webview
diff options
context:
space:
mode:
authorboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-13 10:15:08 +0000
committerboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-13 10:15:08 +0000
commit731e74903ccdf71777c33543b0f35bd47a99dde6 (patch)
treed94696f8ccf98c5abcba243a0ac5e1432b5345fe /android_webview
parentb0f899bfcdb6009965056170b1b45bd5870da80d (diff)
downloadchromium_src-731e74903ccdf71777c33543b0f35bd47a99dde6.zip
chromium_src-731e74903ccdf71777c33543b0f35bd47a99dde6.tar.gz
chromium_src-731e74903ccdf71777c33543b0f35bd47a99dde6.tar.bz2
aw: Use async upload by default
BUG=399311 Review URL: https://codereview.chromium.org/459023002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289252 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview')
-rw-r--r--android_webview/lib/main/aw_main_delegate.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index 371a45e..f6ecd07 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -53,6 +53,7 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
CommandLine* cl = CommandLine::ForCurrentProcess();
bool zero_copy_disabled_by_switch = cl->HasSwitch(switches::kDisableZeroCopy);
bool use_zero_copy = !zero_copy_disabled_by_switch &&
+ cl->HasSwitch(switches::kEnableZeroCopy) &&
gpu_memory_buffer_factory_.get()->Initialize();
if (use_zero_copy) {