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 29b3f9c8938c971e0e407f00b171c12baddbf47a..b3911f86ac186be311f4a8878bd179a1853fdd51 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -276,14 +276,14 @@ LayerTreeHostImpl::LayerTreeHostImpl( |
// LTHI always has an active tree. |
active_tree_ = LayerTreeImpl::create(this); |
TRACE_EVENT_OBJECT_CREATED_WITH_ID( |
- TRACE_DISABLED_BY_DEFAULT("cc.debug"), "cc::LayerTreeHostImpl", this); |
+ TRACE_DISABLED_BY_DEFAULT("cc.debug"), "cc::LayerTreeHostImpl", id_); |
} |
LayerTreeHostImpl::~LayerTreeHostImpl() { |
DCHECK(proxy_->IsImplThread()); |
TRACE_EVENT0("cc", "LayerTreeHostImpl::~LayerTreeHostImpl()"); |
TRACE_EVENT_OBJECT_DELETED_WITH_ID( |
- TRACE_DISABLED_BY_DEFAULT("cc.debug"), "cc::LayerTreeHostImpl", this); |
+ TRACE_DISABLED_BY_DEFAULT("cc.debug"), "cc::LayerTreeHostImpl", id_); |
if (input_handler_client_) { |
input_handler_client_->WillShutdown(); |
@@ -1448,9 +1448,11 @@ void LayerTreeHostImpl::DrawLayers(FrameData* frame, |
} |
TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID( |
- TRACE_DISABLED_BY_DEFAULT("cc.debug") "," |
- TRACE_DISABLED_BY_DEFAULT("cc.debug.quads"), "cc::LayerTreeHostImpl", |
- this, TracedValue::FromValue(AsValueWithFrame(frame).release())); |
+ TRACE_DISABLED_BY_DEFAULT("cc.debug") "," TRACE_DISABLED_BY_DEFAULT( |
+ "cc.debug.quads"), |
+ "cc::LayerTreeHostImpl", |
+ id_, |
+ TracedValue::FromValue(AsValueWithFrame(frame).release())); |
// Because the contents of the HUD depend on everything else in the frame, the |
// contents of its texture are updated as the last thing before the frame is |