diff options
author | halcanary <halcanary@google.com> | 2015-08-27 07:41:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-27 07:41:16 -0700 |
commit | 96fcdcc219d2a0d3579719b84b28bede76efba64 (patch) | |
tree | 0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /src/core/SkYUVPlanesCache.cpp | |
parent | 435af2f736c85c3274a0c6760a3523810750d237 (diff) |
Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
Diffstat (limited to 'src/core/SkYUVPlanesCache.cpp')
-rw-r--r-- | src/core/SkYUVPlanesCache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkYUVPlanesCache.cpp b/src/core/SkYUVPlanesCache.cpp index f013599cc5..336b581246 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; |