Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4562)

Unified Diff: cc/resources/picture.cc

Issue 853393002: cc: refactor of MathUtil::AddToTracedValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/quads/yuv_video_draw_quad.cc ('k') | cc/resources/picture_layer_tiling.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture.cc
diff --git a/cc/resources/picture.cc b/cc/resources/picture.cc
index d878ce35fe8589611939a8e438c2d19dbaf0b445..b1ca99d7a0cdb81bfc1d5668f9e6760619347e1c 100644
--- a/cc/resources/picture.cc
+++ b/cc/resources/picture.cc
@@ -470,9 +470,7 @@ scoped_refptr<base::debug::ConvertableToTraceFormat>
scoped_refptr<base::debug::TracedValue> record_data =
new base::debug::TracedValue();
TracedValue::SetIDRef(this, record_data.get(), "picture_id");
- record_data->BeginArray("layer_rect");
- MathUtil::AddToTracedValue(layer_rect_, record_data.get());
- record_data->EndArray();
+ MathUtil::AddToTracedValue("layer_rect", layer_rect_, record_data.get());
return record_data;
}
« no previous file with comments | « cc/quads/yuv_video_draw_quad.cc ('k') | cc/resources/picture_layer_tiling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698