diff options
Diffstat (limited to 'content/browser/renderer_host')
-rw-r--r-- | content/browser/renderer_host/compositor_impl_android.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc index da3080e..1547bbb 100644 --- a/content/browser/renderer_host/compositor_impl_android.cc +++ b/content/browser/renderer_host/compositor_impl_android.cc @@ -326,6 +326,8 @@ void CompositorImpl::SetVisible(bool visible) { CommandLine* command_line = CommandLine::ForCurrentProcess(); settings.initial_debug_state.SetRecordRenderingStats( command_line->HasSwitch(cc::switches::kEnableGpuBenchmarking)); + settings.initial_debug_state.show_fps_counter = + command_line->HasSwitch(cc::switches::kUIShowFPSCounter); host_ = cc::LayerTreeHost::CreateSingleThreaded( this, this, HostSharedBitmapManager::current(), settings); |