summaryrefslogtreecommitdiffstats
path: root/cc/layer_tree_host_impl.cc
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 /cc/layer_tree_host_impl.cc
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 'cc/layer_tree_host_impl.cc')
-rw-r--r--cc/layer_tree_host_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc
index cef29de..691c0ae 100644
--- a/cc/layer_tree_host_impl.cc
+++ b/cc/layer_tree_host_impl.cc
@@ -1057,7 +1057,7 @@ bool LayerTreeHostImpl::initializeRenderer(scoped_ptr<OutputSurface> outputSurfa
return false;
if (m_settings.implSidePainting)
- m_tileManager.reset(new TileManager(this, resourceProvider.get(), m_settings.numRasterThreads, m_settings.recordRenderingStats, m_settings.useCheapnessEstimator));
+ m_tileManager.reset(new TileManager(this, resourceProvider.get(), m_settings.numRasterThreads, m_debugState.recordRenderingStats(), m_settings.useCheapnessEstimator));
if (outputSurface->Capabilities().has_parent_compositor)
m_renderer = DelegatingRenderer::Create(this, outputSurface.get(), resourceProvider.get());