Index: cc/quads/io_surface_draw_quad.cc |
diff --git a/cc/quads/io_surface_draw_quad.cc b/cc/quads/io_surface_draw_quad.cc |
index e565a43066b533fef8c0a873c13e64ccdd5cefc4..cc3581bd0833d7a35d3ceb1bdd52ff5955f4b48a 100644 |
--- a/cc/quads/io_surface_draw_quad.cc |
+++ b/cc/quads/io_surface_draw_quad.cc |
@@ -4,7 +4,6 @@ |
#include "cc/quads/io_surface_draw_quad.h" |
-#include "base/debug/trace_event_argument.h" |
#include "base/logging.h" |
#include "base/values.h" |
#include "cc/base/math_util.h" |
@@ -57,11 +56,8 @@ |
return static_cast<const IOSurfaceDrawQuad*>(quad); |
} |
-void IOSurfaceDrawQuad::ExtendValue(base::debug::TracedValue* value) const { |
- value->BeginDictionary("io_surface_size"); |
- MathUtil::AddToTracedValue(io_surface_size, value); |
- value->EndDictionary(); |
- |
+void IOSurfaceDrawQuad::ExtendValue(base::DictionaryValue* value) const { |
+ value->Set("io_surface_size", MathUtil::AsValue(io_surface_size).release()); |
value->SetInteger("io_surface_resource_id", io_surface_resource_id); |
const char* orientation_string = NULL; |
switch (orientation) { |