Index: src/gpu/batches/GrDrawAtlasBatch.cpp |
diff --git a/src/gpu/batches/GrDrawAtlasBatch.cpp b/src/gpu/batches/GrDrawAtlasBatch.cpp |
index 5ecdc1fb032a619b50ec5433428dbd225cc18961..068f05c74170ffa936e17946566e9442159bbe5b 100644 |
--- a/src/gpu/batches/GrDrawAtlasBatch.cpp |
+++ b/src/gpu/batches/GrDrawAtlasBatch.cpp |
@@ -51,7 +51,7 @@ static const GrGeometryProcessor* set_vertex_attributes(bool hasColors, |
return GrDefaultGeoProcFactory::Create(gpColor, coverage, localCoords, viewMatrix); |
} |
-void GrDrawAtlasBatch::onPrepareDraws(Target* target) { |
+void GrDrawAtlasBatch::onPrepareDraws(Target* target) const { |
// Setup geometry processor |
SkAutoTUnref<const GrGeometryProcessor> gp(set_vertex_attributes(this->hasColors(), |
this->color(), |