Index: include/core/SkMetaData.h |
diff --git a/include/core/SkMetaData.h b/include/core/SkMetaData.h |
index 5db437c980e157a36cf46aac968c412a42143002..c8ca7f141993f3f22bd4841c8ccec01bff2981e5 100644 |
--- a/include/core/SkMetaData.h |
+++ b/include/core/SkMetaData.h |
@@ -81,7 +81,7 @@ public: |
bool hasData(const char name[], const void* data, size_t byteCount) const { |
size_t len; |
const void* ptr = this->findData(name, &len); |
- return NULL != ptr && len == byteCount && !memcmp(ptr, data, len); |
+ return ptr && len == byteCount && !memcmp(ptr, data, len); |
} |
void setS32(const char name[], int32_t value); |