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 fd6e91b2bec35b86c24b40d96903c8f13967b429..18d3d10c34a8920902f1812e1e8df201306428de 100644 |
--- a/cc/quads/content_draw_quad_base.cc |
+++ b/cc/quads/content_draw_quad_base.cc |
@@ -4,7 +4,6 @@ |
#include "cc/quads/content_draw_quad_base.h" |
-#include "base/debug/trace_event_argument.h" |
#include "base/logging.h" |
#include "base/values.h" |
#include "cc/base/math_util.h" |
@@ -50,15 +49,9 @@ |
this->swizzle_contents = swizzle_contents; |
} |
-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(); |
- |
+void ContentDrawQuadBase::ExtendValue(base::DictionaryValue* value) const { |
+ value->Set("tex_coord_rect", MathUtil::AsValue(tex_coord_rect).release()); |
+ value->Set("texture_size", MathUtil::AsValue(texture_size).release()); |
value->SetBoolean("swizzle_contents", swizzle_contents); |
} |