| Index: src/gpu/batches/GrTestBatch.h
|
| diff --git a/src/gpu/batches/GrTestBatch.h b/src/gpu/batches/GrTestBatch.h
|
| index b070bbaf7582140b742d22e8a311ed8b98c8c298..9427504d2ee660cc91410e6c6c6c409dd5270301 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;
|
|
|