Index: content/browser/gpu/gpu_data_manager_impl_private.cc |
diff --git a/content/browser/gpu/gpu_data_manager_impl_private.cc b/content/browser/gpu/gpu_data_manager_impl_private.cc |
index 926886d3e8baa457f780b054064c5bb8e481d2a6..41e831e935832623501edf36fa63cb358f382b51 100644 |
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc |
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc |
@@ -933,6 +933,13 @@ bool GpuDataManagerImplPrivate::ShouldDisableAcceleratedVideoDecode( |
return true; |
if (group_name == "Disabled") |
return true; |
+#if defined(OS_ANDROID) |
+ if (command_line->HasSwitch(switches::kDisableGpu) || |
+ command_line->HasSwitch(switches::kSingleProcess) || |
+ command_line->HasSwitch(switches::kInProcessGPU)) { |
+ return true; |
+ } |
+#endif // defined(OS_ANDROID) |
return false; |
} |