| Index: ui/compositor/compositor.cc
|
| diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
|
| index 5226a6f7d994dd8e2ed0e29070af4b8d32e63697..0ed6514bfa7de7921360293950b6efd4beabbce1 100644
|
| --- a/ui/compositor/compositor.cc
|
| +++ b/ui/compositor/compositor.cc
|
| @@ -486,29 +486,29 @@ Compositor::Compositor(CompositorDelegate* delegate,
|
| settings.refresh_rate =
|
| g_test_compositor_enabled ? kTestRefreshRate : kDefaultRefreshRate;
|
| settings.partial_swap_enabled =
|
| - !command_line->HasSwitch(cc::switches::kUIDisablePartialSwap);
|
| + !command_line->HasSwitch(switches::kUIDisablePartialSwap);
|
| settings.per_tile_painting_enabled =
|
| - command_line->HasSwitch(cc::switches::kUIEnablePerTilePainting);
|
| + command_line->HasSwitch(switches::kUIEnablePerTilePainting);
|
|
|
| // These flags should be mirrored by renderer versions in content/renderer/.
|
| settings.initial_debug_state.show_debug_borders =
|
| - command_line->HasSwitch(cc::switches::kUIShowCompositedLayerBorders);
|
| + command_line->HasSwitch(switches::kUIShowCompositedLayerBorders);
|
| settings.initial_debug_state.show_fps_counter =
|
| - command_line->HasSwitch(cc::switches::kUIShowFPSCounter);
|
| + command_line->HasSwitch(switches::kUIShowFPSCounter);
|
| settings.initial_debug_state.show_paint_rects =
|
| command_line->HasSwitch(switches::kUIShowPaintRects);
|
| settings.initial_debug_state.show_property_changed_rects =
|
| - command_line->HasSwitch(cc::switches::kUIShowPropertyChangedRects);
|
| + command_line->HasSwitch(switches::kUIShowPropertyChangedRects);
|
| settings.initial_debug_state.show_surface_damage_rects =
|
| - command_line->HasSwitch(cc::switches::kUIShowSurfaceDamageRects);
|
| + command_line->HasSwitch(switches::kUIShowSurfaceDamageRects);
|
| settings.initial_debug_state.show_screen_space_rects =
|
| - command_line->HasSwitch(cc::switches::kUIShowScreenSpaceRects);
|
| + command_line->HasSwitch(switches::kUIShowScreenSpaceRects);
|
| settings.initial_debug_state.show_replica_screen_space_rects =
|
| - command_line->HasSwitch(cc::switches::kUIShowReplicaScreenSpaceRects);
|
| + command_line->HasSwitch(switches::kUIShowReplicaScreenSpaceRects);
|
| settings.initial_debug_state.show_occluding_rects =
|
| - command_line->HasSwitch(cc::switches::kUIShowOccludingRects);
|
| + command_line->HasSwitch(switches::kUIShowOccludingRects);
|
| settings.initial_debug_state.show_non_occluding_rects =
|
| - command_line->HasSwitch(cc::switches::kUIShowNonOccludingRects);
|
| + command_line->HasSwitch(switches::kUIShowNonOccludingRects);
|
|
|
| scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner =
|
| g_compositor_thread ? g_compositor_thread->message_loop_proxy() : NULL;
|
|
|