Index: cc/layers/layer.cc |
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc |
index 63b9990d65faf0e9cb34cac442e7a2c03c44e08a..2f9e699fcadf2b735bfd1d6e65987d7223ce8688 100644 |
--- a/cc/layers/layer.cc |
+++ b/cc/layers/layer.cc |
@@ -870,6 +870,7 @@ void Layer::PushPropertiesTo(LayerImpl* layer) { |
TRACE_DISABLED_BY_DEFAULT("cc.debug") "," TRACE_DISABLED_BY_DEFAULT( |
"devtools.timeline.layers"), |
&is_tracing); |
+ |
if (is_tracing) |
layer->SetDebugInfo(TakeDebugInfo()); |
@@ -1071,7 +1072,7 @@ bool Layer::IsSuitableForGpuRasterization() const { |
return true; |
} |
-scoped_refptr<base::debug::ConvertableToTraceFormat> Layer::TakeDebugInfo() { |
+scoped_refptr<LayerDebugInfo> Layer::TakeDebugInfo() { |
if (client_) |
return client_->TakeDebugInfo(); |
else |