diff options
author | egraether@chromium.org <egraether@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-06 23:10:08 +0000 |
---|---|---|
committer | egraether@chromium.org <egraether@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-06 23:10:08 +0000 |
commit | 90f52dcaaa23401ab60bbb7f689d98c73aa04f09 (patch) | |
tree | 54d613c9fe014d08a8a34db42cb8d8aaa8100932 /webkit | |
parent | 7aad021400abc8e5495c333f77e06b73bddbb722 (diff) | |
download | chromium_src-90f52dcaaa23401ab60bbb7f689d98c73aa04f09.zip chromium_src-90f52dcaaa23401ab60bbb7f689d98c73aa04f09.tar.gz chromium_src-90f52dcaaa23401ab60bbb7f689d98c73aa04f09.tar.bz2 |
cc: Fix paint time collection for continuous painting mode
This change moves the recordRenderingStats setting to LayerTreeDebugState and adds the new accessor LayerTreeDebugState::recordRenderingStats() that takes continuousPainting into account.
BUG=174354
Review URL: https://chromiumcodereview.appspot.com/12209018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181080 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/compositor_bindings/web_layer_tree_view_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/compositor_bindings/web_layer_tree_view_impl.cc b/webkit/compositor_bindings/web_layer_tree_view_impl.cc index b7a7101..7d66385 100644 --- a/webkit/compositor_bindings/web_layer_tree_view_impl.cc +++ b/webkit/compositor_bindings/web_layer_tree_view_impl.cc @@ -53,7 +53,7 @@ bool WebLayerTreeViewImpl::initialize(const WebLayerTreeView::Settings& webSetti settings.initialDebugState.showPlatformLayerTree = webSettings.showPlatformLayerTree; settings.initialDebugState.showDebugBorders = webSettings.showDebugBorders; settings.implSidePainting = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kEnableImplSidePainting); - settings.recordRenderingStats = webSettings.recordRenderingStats; + settings.initialDebugState.setRecordRenderingStats(webSettings.recordRenderingStats); settings.useCheapnessEstimator = CommandLine::ForCurrentProcess()->HasSwitch(switches::kUseCheapnessEstimator); settings.calculateTopControlsPosition = CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableTopControlsPositionCalculation); |