Index: src/gpu/batches/GrTestBatch.h |
diff --git a/src/gpu/batches/GrTestBatch.h b/src/gpu/batches/GrTestBatch.h |
index 02881c9668ed2c1d0a78355990a045b625baf52b..3933d1e95ed6969fac333b4c1439682ae1544e3a 100644 |
--- a/src/gpu/batches/GrTestBatch.h |
+++ b/src/gpu/batches/GrTestBatch.h |
@@ -60,7 +60,7 @@ protected: |
const GrGeometryProcessor* geometryProcessor() const { return fGeometryProcessor; } |
private: |
- void onPrepareDraws(Target* target) override { |
+ void onPrepareDraws(Target* target) const override { |
target->initDraw(fGeometryProcessor, this->pipeline()); |
this->generateGeometry(target); |
} |
@@ -72,7 +72,7 @@ private: |
return false; |
} |
- virtual void generateGeometry(Target*) = 0; |
+ virtual void generateGeometry(Target*) const = 0; |
struct BatchTracker { |
GrColor fColor; |