| Index: cc/trees/layer_tree_impl.cc
|
| diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
|
| index be25e6543063f5cba9201e8d242a6e7fec4e55fc..757220fe382074c7839af20440d6b7fab914ad91 100644
|
| --- a/cc/trees/layer_tree_impl.cc
|
| +++ b/cc/trees/layer_tree_impl.cc
|
| @@ -40,6 +40,8 @@ LayerTreeImpl::LayerTreeImpl(LayerTreeHostImpl* layer_tree_host_impl)
|
| }
|
|
|
| LayerTreeImpl::~LayerTreeImpl() {
|
| + TRACE_EVENT_OBJECT_DELETED_WITH_ID(
|
| + TRACE_DISABLED_BY_DEFAULT("cc.debug"), "cc::LayerTreeImpl", this);
|
| // Need to explicitly clear the tree prior to destroying this so that
|
| // the LayerTreeImpl pointer is still valid in the LayerImpl dtor.
|
| root_layer_.reset();
|
| @@ -509,7 +511,8 @@ AnimationRegistrar* LayerTreeImpl::animationRegistrar() const {
|
| scoped_ptr<base::Value> LayerTreeImpl::AsValue() const {
|
| scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue());
|
| TracedValue::MakeDictIntoImplicitSnapshot(
|
| - state.get(), "cc::LayerTreeImpl", this);
|
| + TRACE_DISABLED_BY_DEFAULT("cc.debug"), state.get(), "cc::LayerTreeImpl",
|
| + this);
|
|
|
| state->Set("root_layer", root_layer_->AsValue().release());
|
|
|
|
|