Chromium Code Reviews| 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 { |
| /** |