Index: include/core/SkPathRef.h |
diff --git a/include/core/SkPathRef.h b/include/core/SkPathRef.h |
index ba68fcba3c60f77a1e2dae760d71d0b3bbd21c02..0b661b44cb2541bd1302d320fa90bdc2adae2460 100644 |
--- a/include/core/SkPathRef.h |
+++ b/include/core/SkPathRef.h |
@@ -144,7 +144,7 @@ public: |
* fact ovals can report false. |
*/ |
bool isOval(SkRect* rect) const { |
- if (fIsOval && NULL != rect) { |
+ if (fIsOval && rect) { |
*rect = getBounds(); |
} |