Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1319)

Unified Diff: cc/tile_draw_quad.cc

Issue 11777025: cc: Implement DelegatingRender::drawFrame() method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/tile_draw_quad.cc
diff --git a/cc/tile_draw_quad.cc b/cc/tile_draw_quad.cc
index 965bb0361eadabc66844c89dd7d730d78b00c91c..d33feb75e9257e146231fd7e58424a9a0f5ccbca 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);

Powered by Google App Engine
This is Rietveld 408576698