diff options
Diffstat (limited to 'src/gpu/GrTextBlobCache.h')
-rw-r--r-- | src/gpu/GrTextBlobCache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrTextBlobCache.h b/src/gpu/GrTextBlobCache.h index ee1f0d9211..5f24e2ac16 100644 --- a/src/gpu/GrTextBlobCache.h +++ b/src/gpu/GrTextBlobCache.h @@ -112,12 +112,12 @@ public: private: typedef SkTInternalLList<GrAtlasTextBlob> BitmapBlobList; - void checkPurge(GrAtlasTextBlob* blob = NULL) { + void checkPurge(GrAtlasTextBlob* blob = nullptr) { // If we are overbudget, then unref until we are below budget again if (fPool.size() > fBudget) { BitmapBlobList::Iter iter; iter.init(fBlobList, BitmapBlobList::Iter::kTail_IterStart); - GrAtlasTextBlob* lruBlob = NULL; + GrAtlasTextBlob* lruBlob = nullptr; while (fPool.size() > fBudget && (lruBlob = iter.get()) && lruBlob != blob) { fCache.remove(lruBlob->fKey); |