Commit b73df885 authored by boliu@chromium.org's avatar boliu@chromium.org

aw: Use async upload by default

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
parent b0600161
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment