Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index 89bd6c44c9e0ab5f075ccd48fdccbd2686481502..824f30a8ff45b788f8c409072f00e8a81f1f1219 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -28,6 +28,12 @@ struct hash<cc::LayerImpl*> { |
} // namespace BASE_HASH_NAMESPACE |
#endif // COMPILER |
+namespace base { |
+namespace debug { |
+class TracedValue; |
+} |
+} |
+ |
namespace cc { |
class ContextProvider; |
@@ -104,7 +110,7 @@ class CC_EXPORT LayerTreeImpl { |
const LayerTreeDebugState& debug_state() const; |
float device_scale_factor() const; |
DebugRectHistory* debug_rect_history() const; |
- scoped_ptr<base::Value> AsValue() const; |
+ void AsValueInto(base::debug::TracedValue* dict) const; |
// Other public methods |
// --------------------------------------------------------------------------- |