| Index: content/browser/gpu/compositor_util.cc
|
| diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
|
| index 9646b8f15d675b238b74446aa64ddbf02747c72a..825becd69f400b80cf2ebe127921baa50c324c4f 100644
|
| --- a/content/browser/gpu/compositor_util.cc
|
| +++ b/content/browser/gpu/compositor_util.cc
|
| @@ -228,15 +228,7 @@ bool IsOneCopyUploadEnabled() {
|
|
|
| const base::CommandLine& command_line =
|
| *base::CommandLine::ForCurrentProcess();
|
| - if (command_line.HasSwitch(switches::kEnableOneCopy))
|
| - return true;
|
| - if (command_line.HasSwitch(switches::kDisableOneCopy))
|
| - return false;
|
| -
|
| -#if defined(OS_ANDROID)
|
| - return false;
|
| -#endif
|
| - return true;
|
| + return !command_line.HasSwitch(switches::kDisableOneCopy);
|
| }
|
|
|
| bool IsZeroCopyUploadEnabled() {
|
|
|