Index: cc/playback/display_item_list.cc |
diff --git a/cc/playback/display_item_list.cc b/cc/playback/display_item_list.cc |
index 1275f3aaa2b9976a1007b7ef56b61836e9989a0b..edc67c00e6da71eb53a47b231f16be8a429b5950 100644 |
--- a/cc/playback/display_item_list.cc |
+++ b/cc/playback/display_item_list.cc |
@@ -231,15 +231,16 @@ DisplayItemList::AsValue(bool include_items) const { |
scoped_refptr<base::trace_event::TracedValue> state = |
new base::trace_event::TracedValue(); |
+ state->BeginDictionary("params"); |
if (include_items) { |
- state->BeginArray("params.items"); |
+ state->BeginArray("items"); |
for (const DisplayItem* item : items_) { |
item->AsValueInto(state.get()); |
} |
- state->EndArray(); |
+ state->EndArray(); // "items". |
} |
- |
- state->SetValue("params.layer_rect", MathUtil::AsValue(layer_rect_)); |
+ state->SetValue("layer_rect", MathUtil::AsValue(layer_rect_)); |
+ state->EndDictionary(); // "params". |
if (!layer_rect_.IsEmpty()) { |
SkPictureRecorder recorder; |