| Index: cc/layer_tree_host_impl.cc
|
| diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc
|
| index 2f5ee5ca2fe4953a97a3a188c7e7fe3e190e458d..b0950402d6351e2dbab52d20f7ab0f4a8c8766ed 100644
|
| --- a/cc/layer_tree_host_impl.cc
|
| +++ b/cc/layer_tree_host_impl.cc
|
| @@ -381,7 +381,7 @@ bool LayerTreeHostImpl::calculateRenderPasses(FrameData& frame)
|
| renderSurfaceLayer->renderSurface()->appendRenderPasses(frame);
|
| }
|
|
|
| - bool recordMetricsForFrame = true; // FIXME: In the future, disable this when about:tracing is off.
|
| + bool recordMetricsForFrame = base::debug::TraceLog::GetInstance()->IsEnabled();
|
| OcclusionTrackerImpl occlusionTracker(m_rootLayerImpl->renderSurface()->contentRect(), recordMetricsForFrame);
|
| occlusionTracker.setMinimumTrackingSize(m_settings.minimumOcclusionTrackingSize);
|
|
|
|
|