Index: src/gpu/GrDrawState.cpp |
diff --git a/src/gpu/GrDrawState.cpp b/src/gpu/GrDrawState.cpp |
index 87269658184b963c8abfb2ea62a095d1a89bb80d..168cf0b9c3b0c2962c65e4c8e1dd38f6ae45c9dd 100644 |
--- a/src/gpu/GrDrawState.cpp |
+++ b/src/gpu/GrDrawState.cpp |
@@ -108,7 +108,7 @@ GrDrawState& GrDrawState::operator=(const GrDrawState& that) { |
fCoverage = that.fCoverage; |
fDrawFace = that.fDrawFace; |
if (that.hasGeometryProcessor()) { |
- fGeometryProcessor.reset(SkNEW_ARGS(GrEffectStage, (*that.fGeometryProcessor.get()))); |
+ fGeometryProcessor.reset(SkNEW_ARGS(GrGeometryStage, (*that.fGeometryProcessor.get()))); |
} else { |
fGeometryProcessor.reset(NULL); |
} |
@@ -329,7 +329,7 @@ void GrDrawState::AutoRestoreEffects::set(GrDrawState* ds) { |
if (SK_InvalidUniqueID == fOriginalGPID) { |
fDrawState->fGeometryProcessor.reset(NULL); |
} else { |
- SkASSERT(fDrawState->getGeometryProcessor()->getEffect()->getUniqueID() == |
+ SkASSERT(fDrawState->getGeometryProcessor()->getProcessor()->getUniqueID() == |
fOriginalGPID); |
fOriginalGPID = SK_InvalidUniqueID; |
} |
@@ -350,7 +350,7 @@ void GrDrawState::AutoRestoreEffects::set(GrDrawState* ds) { |
if (NULL != ds) { |
SkASSERT(SK_InvalidUniqueID == fOriginalGPID); |
if (NULL != ds->getGeometryProcessor()) { |
- fOriginalGPID = ds->getGeometryProcessor()->getEffect()->getUniqueID(); |
+ fOriginalGPID = ds->getGeometryProcessor()->getProcessor()->getUniqueID(); |
} |
fColorEffectCnt = ds->numColorStages(); |
fCoverageEffectCnt = ds->numCoverageStages(); |