diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-01-06 19:22:11 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-01-06 19:22:11 +0000 |
commit | cadbcb8e536f89babb4e165bfdca18384e97d582 (patch) | |
tree | 9621167209d605e969b13b1ab39963a62591a8ac /src/gpu | |
parent | baa9ea10f9b704f42efc804e7401e0aa519b3e29 (diff) |
Towards enabling -Werror in skia on Linux
Review URL: http://codereview.appspot.com/5516044/
git-svn-id: http://skia.googlecode.com/svn/trunk@2983 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/GrDrawState.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h index dfe0d4b04f..4191c4ab53 100644 --- a/src/gpu/GrDrawState.h +++ b/src/gpu/GrDrawState.h @@ -403,7 +403,7 @@ struct GrDrawState { class AutoRenderTargetRestore : public ::GrNoncopyable { public: - AutoRenderTargetRestore() : fDrawState(NULL) {} + AutoRenderTargetRestore() : fDrawState(NULL), fSavedTarget(NULL) {} AutoRenderTargetRestore(GrDrawState* ds, GrRenderTarget* newTarget) { fDrawState = NULL; this->set(ds, newTarget); |