Index: cc/layers/tiled_layer_impl.cc |
diff --git a/cc/layers/tiled_layer_impl.cc b/cc/layers/tiled_layer_impl.cc |
index 86f90b9c7edfeafdd9b08acb1e80914686c95ee0..5b932ca9f9b3985453f3135c736d31196107b4ff 100644 |
--- a/cc/layers/tiled_layer_impl.cc |
+++ b/cc/layers/tiled_layer_impl.cc |
@@ -5,7 +5,6 @@ |
#include "cc/layers/tiled_layer_impl.h" |
#include "base/basictypes.h" |
-#include "base/debug/trace_event_argument.h" |
#include "base/strings/stringprintf.h" |
#include "cc/base/math_util.h" |
#include "cc/debug/debug_colors.h" |
@@ -100,11 +99,9 @@ |
return TiledLayerImpl::Create(tree_impl, id()).PassAs<LayerImpl>(); |
} |
-void TiledLayerImpl::AsValueInto(base::debug::TracedValue* state) const { |
+void TiledLayerImpl::AsValueInto(base::DictionaryValue* state) const { |
LayerImpl::AsValueInto(state); |
- state->BeginArray("invalidation"); |
- MathUtil::AddToTracedValue(update_rect(), state); |
- state->EndArray(); |
+ state->Set("invalidation", MathUtil::AsValue(update_rect()).release()); |
} |
size_t TiledLayerImpl::GPUMemoryUsageInBytes() const { |