| Index: cc/layer_tree_host.cc
|
| diff --git a/cc/layer_tree_host.cc b/cc/layer_tree_host.cc
|
| index 76915d3ed67958118635a814af1fe06a66b6f629..9062d0f545c77b0fe7b01f2da3c5fbeb7c3e54f3 100644
|
| --- a/cc/layer_tree_host.cc
|
| +++ b/cc/layer_tree_host.cc
|
| @@ -322,7 +322,9 @@ void LayerTreeHost::finishCommitOnImplThread(LayerTreeHostImpl* hostImpl)
|
| hostImpl->setViewportSize(layoutViewportSize(), deviceViewportSize());
|
| hostImpl->setDeviceScaleFactor(deviceScaleFactor());
|
| hostImpl->setDebugState(m_debugState);
|
| - hostImpl->savePaintTime(m_renderingStats.totalPaintTime);
|
| +
|
| + if (m_debugState.continuousPainting)
|
| + hostImpl->savePaintTime(m_renderingStats.totalPaintTime, commitNumber());
|
|
|
| if (newImplTreeHasNoEvictedResources) {
|
| if (syncTree->ContentsTexturesPurged())
|
|
|