Index: src/gpu/GrTextBlobCache.h |
diff --git a/src/gpu/GrTextBlobCache.h b/src/gpu/GrTextBlobCache.h |
index ee1f0d92116aa6ab0b9102f0953164440e0b13cc..5f24e2ac1626f11d77deb3be1fac4bf3f651c933 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); |