| Index: content/browser/compositor/gpu_process_transport_factory.cc
|
| diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
|
| index 472b300ac587957aaa078a9edc1d11a68e10bd41..3658c2517fc08be94194a8d0ac057144d86630fa 100644
|
| --- a/content/browser/compositor/gpu_process_transport_factory.cc
|
| +++ b/content/browser/compositor/gpu_process_transport_factory.cc
|
| @@ -50,7 +50,6 @@
|
| #elif defined(USE_OZONE)
|
| #include "content/browser/compositor/overlay_candidate_validator_ozone.h"
|
| #include "content/browser/compositor/software_output_device_ozone.h"
|
| -#include "ui/ozone/public/ozone_switches.h"
|
| #include "ui/ozone/public/surface_factory_ozone.h"
|
| #elif defined(USE_X11)
|
| #include "content/browser/compositor/software_output_device_x11.h"
|
| @@ -122,10 +121,9 @@ scoped_ptr<cc::OverlayCandidateValidator> CreateOverlayCandidateValidator(
|
| #if defined(USE_OZONE)
|
| ui::OverlayCandidatesOzone* overlay_candidates =
|
| ui::SurfaceFactoryOzone::GetInstance()->GetOverlayCandidates(widget);
|
| - base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
| if (overlay_candidates &&
|
| - (command_line->HasSwitch(switches::kEnableHardwareOverlays) ||
|
| - command_line->HasSwitch(switches::kOzoneTestSingleOverlaySupport))) {
|
| + base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kEnableHardwareOverlays)) {
|
| return scoped_ptr<cc::OverlayCandidateValidator>(
|
| new OverlayCandidateValidatorOzone(widget, overlay_candidates));
|
| }
|
|
|