Index: cc/quads/tile_draw_quad.cc |
diff --git a/cc/quads/tile_draw_quad.cc b/cc/quads/tile_draw_quad.cc |
index 414b320cb30e02cf6f06a3e08bcd1e435355b015..3ff98095e9f0816e6f651d1d28726cf9d4a7325e 100644 |
--- a/cc/quads/tile_draw_quad.cc |
+++ b/cc/quads/tile_draw_quad.cc |
@@ -5,6 +5,7 @@ |
#include "cc/quads/tile_draw_quad.h" |
#include "base/logging.h" |
+#include "base/values.h" |
#include "third_party/khronos/GLES2/gl2.h" |
namespace cc { |
@@ -58,4 +59,9 @@ const TileDrawQuad* TileDrawQuad::MaterialCast(const DrawQuad* quad) { |
return static_cast<const TileDrawQuad*>(quad); |
} |
+void TileDrawQuad::ExtendValue(base::DictionaryValue* value) const { |
+ ContentDrawQuadBase::ExtendValue(value); |
+ value->SetInteger("resource_id", resource_id); |
+} |
+ |
} // namespace cc |