Index: src/gpu/batches/GrVertexBatch.h |
diff --git a/src/gpu/batches/GrVertexBatch.h b/src/gpu/batches/GrVertexBatch.h |
index ba899cc3fc32317bf905211a5f83b31506f18979..d0daf591412382c98cf3535b04a9c6f1e402ee32 100644 |
--- a/src/gpu/batches/GrVertexBatch.h |
+++ b/src/gpu/batches/GrVertexBatch.h |
@@ -65,7 +65,7 @@ private: |
void onPrepare(GrBatchFlushState* state) final; |
void onDraw(GrBatchFlushState* state) final; |
- virtual void onPrepareDraws(Target*) = 0; |
+ virtual void onPrepareDraws(Target*) const = 0; |
// A set of contiguous draws with no inline uploads between them that all use the same |
// primitive processor. All the draws in a DrawArray share a primitive processor and use the |