Index: src/core/SkTypefaceCache.cpp |
diff --git a/src/core/SkTypefaceCache.cpp b/src/core/SkTypefaceCache.cpp |
index 49779fcbe3d67d4bac1c2938cec29d8993f28cae..5fe080d05d825e9569460f3d91f88ede7f6de43d 100644 |
--- a/src/core/SkTypefaceCache.cpp |
+++ b/src/core/SkTypefaceCache.cpp |
@@ -45,7 +45,7 @@ SkTypeface* SkTypefaceCache::findByProcAndRef(FindProc proc, void* ctx) const { |
} |
curr += 1; |
} |
- return NULL; |
+ return nullptr; |
} |
void SkTypefaceCache::purge(int numToPurge) { |
@@ -113,6 +113,6 @@ static bool DumpProc(SkTypeface* face, const SkFontStyle& s, void* ctx) { |
void SkTypefaceCache::Dump() { |
#ifdef SK_DEBUG |
SkAutoMutexAcquire ama(gMutex); |
- (void)Get().findByProcAndRef(DumpProc, NULL); |
+ (void)Get().findByProcAndRef(DumpProc, nullptr); |
#endif |
} |