summaryrefslogtreecommitdiffstats
path: root/webkit/compositor_bindings
diff options
context:
space:
mode:
authoregraether@chromium.org <egraether@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-06 23:10:08 +0000
committeregraether@chromium.org <egraether@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-06 23:10:08 +0000
commit90f52dcaaa23401ab60bbb7f689d98c73aa04f09 (patch)
tree54d613c9fe014d08a8a34db42cb8d8aaa8100932 /webkit/compositor_bindings
parent7aad021400abc8e5495c333f77e06b73bddbb722 (diff)
downloadchromium_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/compositor_bindings')
-rw-r--r--webkit/compositor_bindings/web_layer_tree_view_impl.cc2
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);