Index: src/gpu/GrDrawState.h |
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h |
index 7b5f150f4c68525774f26df8e3d3a7506ffb6f14..6223f5388b7c00653cf09ce5ed09647e183d8f7d 100644 |
--- a/src/gpu/GrDrawState.h |
+++ b/src/gpu/GrDrawState.h |
@@ -256,13 +256,13 @@ public: |
public: |
AutoRestoreEffects() |
: fDrawState(NULL) |
- , fOriginalGP(NULL) |
+ , fOriginalGPID(SK_InvalidUniqueID) |
, fColorEffectCnt(0) |
, fCoverageEffectCnt(0) {} |
AutoRestoreEffects(GrDrawState* ds) |
: fDrawState(NULL) |
- , fOriginalGP(NULL) |
+ , fOriginalGPID(SK_InvalidUniqueID) |
, fColorEffectCnt(0) |
, fCoverageEffectCnt(0) { |
this->set(ds); |
@@ -276,7 +276,7 @@ public: |
private: |
GrDrawState* fDrawState; |
- const GrEffect* fOriginalGP; |
+ uint32_t fOriginalGPID; |
int fColorEffectCnt; |
int fCoverageEffectCnt; |
}; |