| Index: ui/compositor/compositor_switches.cc
|
| diff --git a/ui/compositor/compositor_switches.cc b/ui/compositor/compositor_switches.cc
|
| index a7ffc1465a0f9f2abc55e420857912ff931f6709..b041d885b938a53d11367a18b9f4e7c7f70636bb 100644
|
| --- a/ui/compositor/compositor_switches.cc
|
| +++ b/ui/compositor/compositor_switches.cc
|
| @@ -28,13 +28,15 @@ const char kUIShowPaintRects[] = "ui-show-paint-rects";
|
| namespace ui {
|
|
|
| bool IsUIImplSidePaintingEnabled() {
|
| - const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| + const base::CommandLine& command_line =
|
| + *base::CommandLine::ForCurrentProcess();
|
|
|
| return command_line.HasSwitch(switches::kUIEnableImplSidePainting);
|
| }
|
|
|
| bool IsUIZeroCopyEnabled() {
|
| - const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| + const base::CommandLine& command_line =
|
| + *base::CommandLine::ForCurrentProcess();
|
|
|
| return command_line.HasSwitch(switches::kUIEnableZeroCopy);
|
| }
|
|
|