Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(704)

Unified Diff: android_webview/lib/main/aw_main_delegate.cc

Issue 459023002: aw: Use async upload by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/lib/main/aw_main_delegate.cc
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index 371a45e30f918d5e6803ac0e0a17c7e8138d4922..f6ecd072fe7010ff81828da5ddccbba14171fb9f 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) &&
hush (inactive) 2014/08/11 17:12:49 we have both kEnableZeroCopy and kDisableZeroCopy
boliu 2014/08/11 17:15:06 The rule is always disable trumps enable.
hush (inactive) 2014/08/11 17:38:51 Seems like content owners added it on purpose in t
gpu_memory_buffer_factory_.get()->Initialize();
if (use_zero_copy) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698