Index: cc/debug/rendering_stats_unittest.cc |
diff --git a/cc/debug/rendering_stats_unittest.cc b/cc/debug/rendering_stats_unittest.cc |
index a634093237139511ec723cd8c83c7027787f1d46..c1e189aca56be46411372e3f17332b27dd1eaf1f 100644 |
--- a/cc/debug/rendering_stats_unittest.cc |
+++ b/cc/debug/rendering_stats_unittest.cc |
@@ -15,9 +15,7 @@ namespace { |
static std::string ToString(const RenderingStats::TimeDeltaList& list) { |
scoped_refptr<base::debug::TracedValue> value = |
new base::debug::TracedValue(); |
- value->BeginArray("list_value"); |
- list.AddToTracedValue(value.get()); |
- value->EndArray(); |
+ list.AddToTracedValue("list_value", value.get()); |
return value->ToString(); |
} |