summaryrefslogtreecommitdiffstats
path: root/cc/tile_draw_quad.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/tile_draw_quad.cc')
-rw-r--r--cc/tile_draw_quad.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/tile_draw_quad.cc b/cc/tile_draw_quad.cc
index 965bb03..d33feb7 100644
--- a/cc/tile_draw_quad.cc
+++ b/cc/tile_draw_quad.cc
@@ -75,6 +75,11 @@ void TileDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
this->bottom_edge_aa = bottom_edge_aa;
}
+void TileDrawQuad::AppendResources(
+ ResourceProvider::ResourceIdArray* resources) {
+ resources->push_back(resource_id);
+}
+
const TileDrawQuad* TileDrawQuad::MaterialCast(
const DrawQuad* quad) {
DCHECK(quad->material == DrawQuad::TILED_CONTENT);