diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-14 13:55:06 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-14 13:55:06 +0000 |
commit | 441a0058106d459a6289c861fcbe7bf4a32306bb (patch) | |
tree | c5512954d7ff81a8a4458d7de42e121411486a60 /include | |
parent | f7ef56d9104fc651769760df9d5f861ef36de658 (diff) |
Fix r6808 fix & some compiler warnings
https://codereview.appspot.com/6948047/
git-svn-id: http://skia.googlecode.com/svn/trunk@6820 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkShader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkShader.h b/include/core/SkShader.h index 0ec892eedc..389be351b2 100644 --- a/include/core/SkShader.h +++ b/include/core/SkShader.h @@ -159,7 +159,7 @@ public: */ virtual void endContext(); - SkDEBUGCODE(bool setContextHasBeenCalled() const { return fInSetContext ? true : false; }) + SkDEBUGCODE(bool setContextHasBeenCalled() const { return SkToBool(fInSetContext); }) /** * Called for each span of the object being drawn. Your subclass should |