Chromium Code Reviews| Index: content/browser/gpu/compositor_util.cc |
| diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc |
| index 96cee0a12a2fa87d632fb63ccbe0f33003e73619..d9279fd2799a97e1212f488b64d4e29e7540ba16 100644 |
| --- a/content/browser/gpu/compositor_util.cc |
| +++ b/content/browser/gpu/compositor_util.cc |
| @@ -272,18 +272,21 @@ bool IsGpuRasterizationEnabled() { |
| else if (command_line.HasSwitch(switches::kEnableGpuRasterization)) |
| return true; |
| - if (command_line.HasSwitch( |
| - switches::kEnableBleedingEdgeRenderingFastPaths)) { |
| - return true; |
| - } |
| - |
| if (GpuDataManagerImpl::GetInstance()->IsFeatureBlacklisted( |
| gpu::GPU_FEATURE_TYPE_GPU_RASTERIZATION)) { |
| return false; |
| } |
| - // Change this to true to turn on the feature by default. |
| + if (command_line.HasSwitch( |
| + switches::kEnableBleedingEdgeRenderingFastPaths)) { |
| + return true; |
| + } |
| + |
| +#if defined(OS_ANDROID) |
| + return true; |
| +#else |
| return false; |
| +#endif |
|
Zhenyao Mo
2014/04/17 21:24:14
remove this
ajuma
2014/04/17 22:04:00
Done.
|
| } |
| bool IsForceGpuRasterizationEnabled() { |