Index: cc/quads/tile_draw_quad.h |
diff --git a/cc/quads/tile_draw_quad.h b/cc/quads/tile_draw_quad.h |
index b858e148d2346f518ebbd840dd3010e9615c4ca4..feb9e87c7cc1541a58bd235ada782bb75ea56e3f 100644 |
--- a/cc/quads/tile_draw_quad.h |
+++ b/cc/quads/tile_draw_quad.h |
@@ -41,13 +41,13 @@ class CC_EXPORT TileDrawQuad : public ContentDrawQuadBase { |
bool swizzle_contents, |
bool nearest_neighbor); |
- unsigned resource_id; |
- |
- void IterateResources(const ResourceIteratorCallback& callback) override; |
- |
static const TileDrawQuad* MaterialCast(const DrawQuad*); |
+ ResourceId resource_id() const { return resources.ids[kResourceIdIndex]; } |
+ |
private: |
+ static const size_t kResourceIdIndex = 0; |
+ |
void ExtendValue(base::trace_event::TracedValue* value) const override; |
}; |