Index: src/core/SkPicturePlayback.h |
diff --git a/src/core/SkPicturePlayback.h b/src/core/SkPicturePlayback.h |
index 6114fee5e780d73b653ce5bb92f2522b114f687d..cdfa8efe188292dbf06783eecec125c446add641 100644 |
--- a/src/core/SkPicturePlayback.h |
+++ b/src/core/SkPicturePlayback.h |
@@ -68,7 +68,7 @@ protected: |
public: |
AutoResetOpID(SkPicturePlayback* playback) : fPlayback(playback) { } |
~AutoResetOpID() { |
- if (NULL != fPlayback) { |
+ if (fPlayback) { |
fPlayback->resetOpID(); |
} |
} |