| commit | 66a58aca8379a33ccc7572a31c74a3334d08b47c | [log] [tgz] |
|---|---|---|
| author | sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Mar 05 20:40:52 2013 +0000 |
| committer | sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Mar 05 20:40:52 2013 +0000 |
| tree | 8af711225b6311da4043c33b4ab1f3faa54cafba | |
| parent | 64cc810ad165724f9c666a75bd52e41c67f13564 [diff] |
Fixed a few warnings Removed a few warnings from the Skia code. Review URL: https://codereview.chromium.org/12469003 git-svn-id: http://skia.googlecode.com/svn/trunk@7996 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h index 4ae2c47..3f37297 100644 --- a/src/gpu/GrDrawState.h +++ b/src/gpu/GrDrawState.h
@@ -423,7 +423,7 @@ */ class AutoColorRestore : public ::GrNoncopyable { public: - AutoColorRestore() : fDrawState(NULL) {} + AutoColorRestore() : fDrawState(NULL), fOldColor(0) {} AutoColorRestore(GrDrawState* drawState, GrColor color) { fDrawState = NULL;