Skip to content

Commit

Permalink
aw: Use async upload by default
Browse files Browse the repository at this point in the history
BUG=399311

Review URL: https://codereview.chromium.org/459023002

Cr-Commit-Position: refs/heads/master@{#289252}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289252 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
boliu@chromium.org committed Aug 13, 2014
1 parent b060016 commit b73df88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions android_webview/lib/main/aw_main_delegate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b73df88

Please sign in to comment.