Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Unified Diff: src/gpu/GrDrawState.h

Issue 12469003: Fixed a few warnings (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/GrDrawState.h
===================================================================
--- src/gpu/GrDrawState.h (revision 7988)
+++ src/gpu/GrDrawState.h (working copy)
@@ -423,7 +423,7 @@
*/
class AutoColorRestore : public ::GrNoncopyable {
public:
- AutoColorRestore() : fDrawState(NULL) {}
+ AutoColorRestore() : fDrawState(NULL), fOldColor(0) {}
sugoi 2013/03/05 20:16:45 Added this to remove the warning about "fOldColor"
bsalomon 2013/03/05 20:19:20 I've been avoiding doing this because the warning
AutoColorRestore(GrDrawState* drawState, GrColor color) {
fDrawState = NULL;
« no previous file with comments | « no previous file | src/ports/SkFontConfigInterface_direct.cpp » ('j') | src/ports/SkFontConfigInterface_direct.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698