Index: src/gpu/GrOptDrawState.cpp |
diff --git a/src/gpu/GrOptDrawState.cpp b/src/gpu/GrOptDrawState.cpp |
index 082db326a599140e88272787b6c9e5737f9b844c..eea022236e3d7a63fbbe44814551a2cbbddbb62b 100644 |
--- a/src/gpu/GrOptDrawState.cpp |
+++ b/src/gpu/GrOptDrawState.cpp |
@@ -112,18 +112,18 @@ GrOptDrawState::GrOptDrawState(const GrDrawState& drawState, |
for (int i = firstColorStageIdx; i < drawState.numColorStages(); ++i) { |
SkNEW_APPEND_TO_TARRAY(&fFragmentStages, |
GrPendingFragmentStage, |
- (drawState.fColorStages[i], hasLocalCoords)); |
+ (drawState.fColorStages[i])); |
usesLocalCoords = usesLocalCoords || |
- drawState.fColorStages[i].getProcessor()->usesLocalCoords(); |
+ drawState.fColorStages[i].processor()->usesLocalCoords(); |
} |
fNumColorStages = fFragmentStages.count(); |
for (int i = firstCoverageStageIdx; i < drawState.numCoverageStages(); ++i) { |
SkNEW_APPEND_TO_TARRAY(&fFragmentStages, |
GrPendingFragmentStage, |
- (drawState.fCoverageStages[i], hasLocalCoords)); |
+ (drawState.fCoverageStages[i])); |
usesLocalCoords = usesLocalCoords || |
- drawState.fCoverageStages[i].getProcessor()->usesLocalCoords(); |
+ drawState.fCoverageStages[i].processor()->usesLocalCoords(); |
} |
// let the GP init the batch tracker |