Index: cc/quads/picture_draw_quad.cc |
diff --git a/cc/quads/picture_draw_quad.cc b/cc/quads/picture_draw_quad.cc |
index af120a41e3951c7a9eb99e599acc05a88029c2e7..cb1c2c1db4ab80907a24cb9dbbb97fff6bbcab4a 100644 |
--- a/cc/quads/picture_draw_quad.cc |
+++ b/cc/quads/picture_draw_quad.cc |
@@ -4,7 +4,6 @@ |
#include "cc/quads/picture_draw_quad.h" |
-#include "base/debug/trace_event_argument.h" |
#include "base/values.h" |
#include "cc/base/math_util.h" |
#include "cc/resources/platform_color.h" |
@@ -80,11 +79,9 @@ |
return static_cast<const PictureDrawQuad*>(quad); |
} |
-void PictureDrawQuad::ExtendValue(base::debug::TracedValue* value) const { |
+void PictureDrawQuad::ExtendValue(base::DictionaryValue* value) const { |
ContentDrawQuadBase::ExtendValue(value); |
- value->BeginArray("content_rect"); |
- MathUtil::AddToTracedValue(content_rect, value); |
- value->EndArray(); |
+ value->Set("content_rect", MathUtil::AsValue(content_rect).release()); |
value->SetDouble("contents_scale", contents_scale); |
value->SetInteger("texture_format", texture_format); |
// TODO(piman): picture_pile? |