| Index: cc/layer_tree_host.cc
|
| diff --git a/cc/layer_tree_host.cc b/cc/layer_tree_host.cc
|
| index 07d25919130c69184427d5f9e1bdf6d492fe05f6..604306e3994168ee665523382b19ce3e2291cd99 100644
|
| --- a/cc/layer_tree_host.cc
|
| +++ b/cc/layer_tree_host.cc
|
| @@ -668,7 +668,7 @@ bool LayerTreeHost::paintLayerContents(const LayerList& renderSurfaceLayerList,
|
| typedef LayerIterator<Layer, LayerList, RenderSurface, LayerIteratorActions::FrontToBack> LayerIteratorType;
|
|
|
| bool needMoreUpdates = false;
|
| - bool recordMetricsForFrame = true; // FIXME: In the future, disable this when about:tracing is off.
|
| + bool recordMetricsForFrame = base::debug::TraceLog::GetInstance() && base::debug::TraceLog::GetInstance()->IsEnabled();
|
| OcclusionTracker occlusionTracker(m_rootLayer->renderSurface()->contentRect(), recordMetricsForFrame);
|
| occlusionTracker.setMinimumTrackingSize(m_settings.minimumOcclusionTrackingSize);
|
|
|
|
|