Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index ed7472d638ba891a70e9ae04a6384fc70068fde8..2ef991cfdda68ffdad2f57e0dac43b9153e047b4 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -12,7 +12,6 @@ |
#include "base/bind.h" |
#include "base/command_line.h" |
#include "base/debug/trace_event.h" |
-#include "base/debug/trace_event_argument.h" |
#include "base/message_loop/message_loop.h" |
#include "base/metrics/histogram.h" |
#include "base/stl_util.h" |
@@ -1154,10 +1153,10 @@ |
animate)); |
} |
-void LayerTreeHost::AsValueInto(base::debug::TracedValue* state) const { |
- state->BeginDictionary("proxy"); |
- proxy_->AsValueInto(state); |
- state->EndDictionary(); |
+scoped_ptr<base::Value> LayerTreeHost::AsValue() const { |
+ scoped_ptr<base::DictionaryValue> state(new base::DictionaryValue()); |
+ state->Set("proxy", proxy_->AsValue().release()); |
+ return state.PassAs<base::Value>(); |
} |
void LayerTreeHost::AnimateLayers(base::TimeTicks monotonic_time) { |