Index: src/core/SkYUVPlanesCache.cpp |
diff --git a/src/core/SkYUVPlanesCache.cpp b/src/core/SkYUVPlanesCache.cpp |
index f013599cc53bf5bb5843247044267062eb5cdd9d..336b581246f10a5fad1878c8f888d13e05f2e5b8 100644 |
--- a/src/core/SkYUVPlanesCache.cpp |
+++ b/src/core/SkYUVPlanesCache.cpp |
@@ -59,7 +59,7 @@ struct YUVPlanesRec : public SkResourceCache::Rec { |
SkCachedData* tmpData = rec.fValue.fData; |
tmpData->ref(); |
- if (NULL == tmpData->data()) { |
+ if (nullptr == tmpData->data()) { |
tmpData->unref(); |
return false; |
} |
@@ -75,7 +75,7 @@ SkCachedData* SkYUVPlanesCache::FindAndRef(uint32_t genID, Info* info, |
YUVValue result; |
YUVPlanesKey key(genID); |
if (!CHECK_LOCAL(localCache, find, Find, key, YUVPlanesRec::Visitor, &result)) { |
- return NULL; |
+ return nullptr; |
} |
*info = result.fInfo; |