Index: ui/gl/gpu_switching_manager.cc |
diff --git a/ui/gl/gpu_switching_manager.cc b/ui/gl/gpu_switching_manager.cc |
index 020592f20da4356777f4e6a8410844e5eaa8c17e..23fc2ffade4f86c1c6f4801196b448a997a1ea54 100644 |
--- a/ui/gl/gpu_switching_manager.cc |
+++ b/ui/gl/gpu_switching_manager.cc |
@@ -73,7 +73,8 @@ void GpuSwitchingManager::ForceUseOfDiscreteGpu() { |
bool GpuSwitchingManager::SupportsDualGpus() { |
if (!supports_dual_gpus_set_) { |
- const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
+ const base::CommandLine& command_line = |
+ *base::CommandLine::ForCurrentProcess(); |
bool flag = false; |
if (command_line.HasSwitch(switches::kSupportsDualGpus)) { |
// GPU process, flag is passed down from browser process. |