From 96fcdcc219d2a0d3579719b84b28bede76efba64 Mon Sep 17 00:00:00 2001 From: halcanary Date: Thu, 27 Aug 2015 07:41:13 -0700 Subject: Style Change: NULL->nullptr DOCS_PREVIEW= https://skia.org/?cl=1316233002 Review URL: https://codereview.chromium.org/1316233002 --- bench/ImageCacheBench.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bench/ImageCacheBench.cpp') diff --git a/bench/ImageCacheBench.cpp b/bench/ImageCacheBench.cpp index 4d71cf0190..fe11868523 100644 --- a/bench/ImageCacheBench.cpp +++ b/bench/ImageCacheBench.cpp @@ -27,7 +27,7 @@ struct TestRec : public SkResourceCache::Rec { const Key& getKey() const override { return fKey; } size_t bytesUsed() const override { return sizeof(fKey) + sizeof(fValue); } const char* getCategory() const override { return "imagecachebench-test"; } - SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return NULL; } + SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return nullptr; } static bool Visitor(const SkResourceCache::Rec&, void*) { return true; @@ -63,7 +63,7 @@ protected: TestKey key(-1); // search for a miss (-1) for (int i = 0; i < loops; ++i) { - SkDEBUGCODE(bool found =) fCache.find(key, TestRec::Visitor, NULL); + SkDEBUGCODE(bool found =) fCache.find(key, TestRec::Visitor, nullptr); SkASSERT(!found); } } -- cgit v1.2.3