Index: src/gpu/batches/GrAAHairLinePathRenderer.cpp |
diff --git a/src/gpu/batches/GrAAHairLinePathRenderer.cpp b/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
index fd579f2e6f3e0763d6501448474443dd8ad7f28c..94abe1c1ec3d05844d1cdddc27e0b9c783d4815c 100644 |
--- a/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
+++ b/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
@@ -713,7 +713,7 @@ private: |
SkSTArray<1, Geometry, true>* geoData() { return &fGeoData; } |
- void onPrepareDraws(Target*) override; |
+ void onPrepareDraws(Target*) const override; |
typedef SkTArray<SkPoint, true> PtArray; |
typedef SkTArray<int, true> IntArray; |
@@ -791,7 +791,7 @@ private: |
typedef GrVertexBatch INHERITED; |
}; |
-void AAHairlineBatch::onPrepareDraws(Target* target) { |
+void AAHairlineBatch::onPrepareDraws(Target* target) const { |
// Setup the viewmatrix and localmatrix for the GrGeometryProcessor. |
SkMatrix invert; |
if (!this->viewMatrix().invert(&invert)) { |