Index: src/gpu/batches/GrDrawAtlasBatch.h |
diff --git a/src/gpu/batches/GrDrawAtlasBatch.h b/src/gpu/batches/GrDrawAtlasBatch.h |
index e6ce7a03dff736329e0b2c6d02253c87a31e7112..6b46cfb0a3aa8eec1360e2bdd5cbdca77dd8bdc1 100644 |
--- a/src/gpu/batches/GrDrawAtlasBatch.h |
+++ b/src/gpu/batches/GrDrawAtlasBatch.h |
@@ -12,15 +12,16 @@ |
#include "GrColor.h" |
#include "GrDefaultGeoProcFactory.h" |
-class GrDrawAtlasBatch : public GrBatch { |
+class GrDrawAtlasBatch : public GrVertexBatch { |
public: |
struct Geometry { |
GrColor fColor; |
SkTArray<uint8_t, true> fVerts; |
}; |
- static GrBatch* Create(const Geometry& geometry, const SkMatrix& viewMatrix, int spriteCount, |
- const SkRSXform* xforms, const SkRect* rects, const SkColor* colors) { |
+ static GrDrawBatch* Create(const Geometry& geometry, const SkMatrix& viewMatrix, |
+ int spriteCount, const SkRSXform* xforms, const SkRect* rects, |
+ const SkColor* colors) { |
return SkNEW_ARGS(GrDrawAtlasBatch, (geometry, viewMatrix, spriteCount, |
xforms, rects, colors)); |
} |