Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index a8d4294bb418d6754becc31a19cb68ea73682e22..32c1db514e2e1b110c271b3afdb313ebb834a045 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -24,6 +24,7 @@ |
#include "cc/debug/debug_rect_history.h" |
#include "cc/debug/devtools_instrumentation.h" |
#include "cc/debug/frame_rate_counter.h" |
+#include "cc/debug/frame_viewer_instrumentation.h" |
#include "cc/debug/paint_time_counter.h" |
#include "cc/debug/rendering_stats_instrumentation.h" |
#include "cc/debug/traced_value.h" |
@@ -1528,12 +1529,8 @@ void LayerTreeHostImpl::DrawLayers(FrameData* frame, |
{ |
TRACE_EVENT0("cc", "DrawLayers.FrameViewerTracing"); |
TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID( |
- TRACE_DISABLED_BY_DEFAULT("cc.debug") "," |
- TRACE_DISABLED_BY_DEFAULT("cc.debug.quads") "," |
- TRACE_DISABLED_BY_DEFAULT("devtools.timeline.layers"), |
- "cc::LayerTreeHostImpl", |
- id_, |
- AsValueWithFrame(frame)); |
+ frame_viewer_instrumentation::kCategoryLayerTree, |
+ "cc::LayerTreeHostImpl", id_, AsValueWithFrame(frame)); |
} |
const DrawMode draw_mode = GetDrawMode(); |