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

Unified Diff: cc/quads/stream_video_draw_quad.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/shared_quad_state.cc ('k') | cc/quads/texture_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/stream_video_draw_quad.cc
diff --git a/cc/quads/stream_video_draw_quad.cc b/cc/quads/stream_video_draw_quad.cc
index 6b5a509d29ea6aca926df3db9fed1fcc9b776ee8..1f5f05efaf0edb8145ce6c3a1583a2a6a7b54e3d 100644
--- a/cc/quads/stream_video_draw_quad.cc
+++ b/cc/quads/stream_video_draw_quad.cc
@@ -52,9 +52,7 @@ const StreamVideoDrawQuad* StreamVideoDrawQuad::MaterialCast(
void StreamVideoDrawQuad::ExtendValue(base::debug::TracedValue* value) const {
value->SetInteger("resource_id", resource_id);
- value->BeginArray("matrix");
- MathUtil::AddToTracedValue(matrix, value);
- value->EndArray();
+ MathUtil::AddToTracedValue("matrix", matrix, value);
}
} // namespace cc
« no previous file with comments | « cc/quads/shared_quad_state.cc ('k') | cc/quads/texture_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698