Hopefully fix Android warning-as-error about uninit var.

git-svn-id: http://skia.googlecode.com/svn/trunk@9593 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bsalomon@google.com 2013-06-13 19:47:23 +00:00
parent eb6879f50a
commit 2fad5a8da9

View File

@ -401,7 +401,7 @@ public:
*/ */
class AutoRestoreEffects : public ::GrNoncopyable { class AutoRestoreEffects : public ::GrNoncopyable {
public: public:
AutoRestoreEffects() : fDrawState(NULL) {} AutoRestoreEffects() : fDrawState(NULL), fColorEffectCnt(0), fCoverageEffectCnt(0) {}
AutoRestoreEffects(GrDrawState* ds) : fDrawState(NULL) { this->set(ds); } AutoRestoreEffects(GrDrawState* ds) : fDrawState(NULL) { this->set(ds); }