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:
parent
eb6879f50a
commit
2fad5a8da9
@ -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); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user