Index: src/core/SkPath.cpp |
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp |
index c0049cad55d72515520d6b9f3296225857fd4fb8..b89aec31fa424b0eb5d32d996a28c90819dffb95 100644 |
--- a/src/core/SkPath.cpp |
+++ b/src/core/SkPath.cpp |
@@ -1914,7 +1914,7 @@ void SkPath::RawIter::setPath(const SkPath& path) { |
} |
SkPath::Verb SkPath::RawIter::next(SkPoint pts[4]) { |
- SkASSERT(NULL != pts); |
+ SkASSERT(pts); |
if (fVerbs == fVerbStop) { |
return kDone_Verb; |
} |
@@ -2007,7 +2007,7 @@ size_t SkPath::readFromMemory(const void* storage, size_t length) { |
SkDEBUGCODE(this->validate();) |
buffer.skipToAlign4(); |
sizeRead = buffer.pos(); |
- } else if (NULL != pathRef) { |
+ } else if (pathRef) { |
// If the buffer is not valid, pathRef should be NULL |
sk_throw(); |
} |