Index: src/gpu/GrAADistanceFieldPathRenderer.cpp |
diff --git a/src/gpu/GrAADistanceFieldPathRenderer.cpp b/src/gpu/GrAADistanceFieldPathRenderer.cpp |
index 10981ee6f27c2bd8b171de4a7eb934490f50d4c8..1858f000e46e5e54b4c4faaed90e35f4fb70d259 100755 |
--- a/src/gpu/GrAADistanceFieldPathRenderer.cpp |
+++ b/src/gpu/GrAADistanceFieldPathRenderer.cpp |
@@ -147,17 +147,17 @@ public: |
out->setUnknownSingleComponent(); |
} |
- void initBatchTracker(const GrPipelineInfo& init) override { |
+ void initBatchTracker(const GrPipelineOptimizations& opt) override { |
// Handle any color overrides |
- if (!init.readsColor()) { |
+ if (!opt.readsColor()) { |
fBatch.fColor = GrColor_ILLEGAL; |
} |
- init.getOverrideColorIfSet(&fBatch.fColor); |
+ opt.getOverrideColorIfSet(&fBatch.fColor); |
// setup batch properties |
- fBatch.fColorIgnored = !init.readsColor(); |
- fBatch.fUsesLocalCoords = init.readsLocalCoords(); |
- fBatch.fCoverageIgnored = !init.readsCoverage(); |
+ fBatch.fColorIgnored = !opt.readsColor(); |
+ fBatch.fUsesLocalCoords = opt.readsLocalCoords(); |
+ fBatch.fCoverageIgnored = !opt.readsCoverage(); |
} |
struct FlushInfo { |