Index: content/browser/renderer_host/compositor_impl_android.cc |
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc |
index da3080e8855f290d6b0bf9410b79bb37d241f95f..1547bbb5a8c2773d33302d6c73870d57b2102d32 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); |