aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-05 20:40:52 +0000
committerGravatar sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-05 20:40:52 +0000
commit66a58aca8379a33ccc7572a31c74a3334d08b47c (patch)
tree8af711225b6311da4043c33b4ab1f3faa54cafba /src/gpu
parent64cc810ad165724f9c666a75bd52e41c67f13564 (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
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/GrDrawState.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
index 4ae2c473ce..3f372973ab 100644
--- a/src/gpu/GrDrawState.h
+++ b/src/gpu/GrDrawState.h
@@ -423,7 +423,7 @@ public:
*/
class AutoColorRestore : public ::GrNoncopyable {
public:
- AutoColorRestore() : fDrawState(NULL) {}
+ AutoColorRestore() : fDrawState(NULL), fOldColor(0) {}
AutoColorRestore(GrDrawState* drawState, GrColor color) {
fDrawState = NULL;