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

Unified Diff: include/pipe/SkGPipe.h

Issue 544233002: "NULL !=" = NULL (Closed) Base URL: https://skia.googlesource.com/skia.git@are
Patch Set: rebase Created 6 years, 3 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
« no previous file with comments | « include/gpu/gl/SkGLContextHelper.h ('k') | include/utils/win/SkTScopedComPtr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/pipe/SkGPipe.h
diff --git a/include/pipe/SkGPipe.h b/include/pipe/SkGPipe.h
index 879ab043ff51845c3b9ff9e522567b934e77031b..98e081da5e6b8a306563e56b6deaf70bc34ec1c9 100644
--- a/include/pipe/SkGPipe.h
+++ b/include/pipe/SkGPipe.h
@@ -99,7 +99,7 @@ public:
SkGPipeWriter();
~SkGPipeWriter();
- bool isRecording() const { return NULL != fCanvas; }
+ bool isRecording() const { return SkToBool(fCanvas); }
enum Flags {
/**
« no previous file with comments | « include/gpu/gl/SkGLContextHelper.h ('k') | include/utils/win/SkTScopedComPtr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698