Commit 61d07188 authored by Bo Liu's avatar Bo Liu Committed by Commit Bot

android: Hook up switch for browser compositor borders

Bug: 841220
Change-Id: I5eab5af79cc93119e9402abb27e805c3923664ba
Reviewed-on: https://chromium-review.googlesource.com/1077090Reviewed-by: default avatardanakj <danakj@chromium.org>
Reviewed-by: default avatarKhushal <khushalsagar@chromium.org>
Commit-Queue: Bo <boliu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#562612}
parent 4c830fcc
...@@ -751,6 +751,8 @@ void CompositorImpl::CreateLayerTreeHost() { ...@@ -751,6 +751,8 @@ void CompositorImpl::CreateLayerTreeHost() {
command_line->HasSwitch(cc::switches::kEnableGpuBenchmarking)); command_line->HasSwitch(cc::switches::kEnableGpuBenchmarking));
settings.initial_debug_state.show_fps_counter = settings.initial_debug_state.show_fps_counter =
command_line->HasSwitch(cc::switches::kUIShowFPSCounter); command_line->HasSwitch(cc::switches::kUIShowFPSCounter);
if (command_line->HasSwitch(cc::switches::kUIShowCompositedLayerBorders))
settings.initial_debug_state.show_debug_borders.set();
settings.single_thread_proxy_scheduler = true; settings.single_thread_proxy_scheduler = true;
settings.use_painted_device_scale_factor = true; settings.use_painted_device_scale_factor = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment