diff options
author | sievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-03 00:20:40 +0000 |
---|---|---|
committer | sievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-03 00:20:40 +0000 |
commit | 9162140dc0a25a121039a676cc9a0e56fef1b0a5 (patch) | |
tree | fe9e1060c5659a6adfb7ddd584472298b580cb7a /content/browser/renderer_host | |
parent | b8f7f215fcbdb3ed164a75bc3fcb72d75f24fbe3 (diff) | |
download | chromium_src-9162140dc0a25a121039a676cc9a0e56fef1b0a5.zip chromium_src-9162140dc0a25a121039a676cc9a0e56fef1b0a5.tar.gz chromium_src-9162140dc0a25a121039a676cc9a0e56fef1b0a5.tar.bz2 |
Android: Support cc::switches::kUIShowFPSCounter
NOTRY=True
Review URL: https://codereview.chromium.org/268773007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267985 0039d316-1c4b-4281-b951-d872f2087c98
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); |