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

Unified Diff: cc/quads/content_draw_quad_base.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/output/filter_operation.cc ('k') | cc/quads/draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/content_draw_quad_base.cc
diff --git a/cc/quads/content_draw_quad_base.cc b/cc/quads/content_draw_quad_base.cc
index 73044985a778bed964c08e1c8987384f5a6bb4c1..0a2a2f456df282b04feac554c3f54c3ff570d56f 100644
--- a/cc/quads/content_draw_quad_base.cc
+++ b/cc/quads/content_draw_quad_base.cc
@@ -55,13 +55,8 @@ void ContentDrawQuadBase::SetAll(const SharedQuadState* shared_quad_state,
}
void ContentDrawQuadBase::ExtendValue(base::debug::TracedValue* value) const {
- value->BeginArray("tex_coord_rect");
- MathUtil::AddToTracedValue(tex_coord_rect, value);
- value->EndArray();
-
- value->BeginDictionary("texture_size");
- MathUtil::AddToTracedValue(texture_size, value);
- value->EndDictionary();
+ MathUtil::AddToTracedValue("tex_coord_rect", tex_coord_rect, value);
+ MathUtil::AddToTracedValue("texture_size", texture_size, value);
value->SetBoolean("swizzle_contents", swizzle_contents);
value->SetBoolean("nearest_neighbor", nearest_neighbor);
« no previous file with comments | « cc/output/filter_operation.cc ('k') | cc/quads/draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698