Index: src/gpu/batches/GrAAStrokeRectBatch.cpp |
diff --git a/src/gpu/batches/GrAAStrokeRectBatch.cpp b/src/gpu/batches/GrAAStrokeRectBatch.cpp |
index 419964fb75330689e94369cbf84c2c6396d98214..21c55f6a5457c0092ad4d9b4eb5172965d2c2ea8 100644 |
--- a/src/gpu/batches/GrAAStrokeRectBatch.cpp |
+++ b/src/gpu/batches/GrAAStrokeRectBatch.cpp |
@@ -107,7 +107,7 @@ private: |
bounds->join(geo.fDevOutsideAssist); |
} |
- void onPrepareDraws(Target*) override; |
+ void onPrepareDraws(Target*) const override; |
void initBatchTracker(const GrXPOverridesForBatch&) override; |
AAStrokeRectBatch(const SkMatrix& viewMatrix,bool miterStroke) |
@@ -182,7 +182,7 @@ void AAStrokeRectBatch::initBatchTracker(const GrXPOverridesForBatch& overrides) |
fBatch.fCanTweakAlphaForCoverage = overrides.canTweakAlphaForCoverage(); |
} |
-void AAStrokeRectBatch::onPrepareDraws(Target* target) { |
+void AAStrokeRectBatch::onPrepareDraws(Target* target) const { |
bool canTweakAlphaForCoverage = this->canTweakAlphaForCoverage(); |
SkAutoTUnref<const GrGeometryProcessor> gp(create_stroke_rect_gp(canTweakAlphaForCoverage, |