diff options
author | 2013-06-13 20:06:44 +0000 | |
---|---|---|
committer | 2013-06-13 20:06:44 +0000 | |
commit | f09b87dda39df1315f26afb663aeaf8048330725 (patch) | |
tree | 5996c9e99ab8d608752d32584028cc68b73cd801 /src/gpu/GrDrawState.h | |
parent | 453271199a4ba8d296332b637d3699e962c67de9 (diff) |
Fix compiler error for r9592
git-svn-id: http://skia.googlecode.com/svn/trunk@9595 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrDrawState.h')
-rw-r--r-- | src/gpu/GrDrawState.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h index 8704fe4084..4ad55f48c5 100644 --- a/src/gpu/GrDrawState.h +++ b/src/gpu/GrDrawState.h @@ -403,7 +403,9 @@ public: public: AutoRestoreEffects() : fDrawState(NULL), fColorEffectCnt(0), fCoverageEffectCnt(0) {} - AutoRestoreEffects(GrDrawState* ds) : fDrawState(NULL) { this->set(ds); } + AutoRestoreEffects(GrDrawState* ds) : fDrawState(NULL), fColorEffectCnt(0), fCoverageEffectCnt(0) { + this->set(ds); + } ~AutoRestoreEffects() { this->set(NULL); } |