aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches/GrStrokeRectBatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/batches/GrStrokeRectBatch.h')
-rw-r--r--src/gpu/batches/GrStrokeRectBatch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/batches/GrStrokeRectBatch.h b/src/gpu/batches/GrStrokeRectBatch.h
index b374ea862d..b1cb8d4ccb 100644
--- a/src/gpu/batches/GrStrokeRectBatch.h
+++ b/src/gpu/batches/GrStrokeRectBatch.h
@@ -14,6 +14,8 @@
class GrStrokeRectBatch : public GrVertexBatch {
public:
+ DEFINE_BATCH_CLASS_ID
+
struct Geometry {
GrColor fColor;
SkMatrix fViewMatrix;
@@ -74,6 +76,8 @@ private:
BatchTracker fBatch;
SkSTArray<1, Geometry, true> fGeoData;
+
+ typedef GrVertexBatch INHERITED;
};
#endif