Index: src/core/SkFontStream.cpp |
diff --git a/src/core/SkFontStream.cpp b/src/core/SkFontStream.cpp |
index 580da37f43b8117f33c6a43790fade68155be115..b2ffe8deba4a7938f54e4c489517f9392ab3baa5 100644 |
--- a/src/core/SkFontStream.cpp |
+++ b/src/core/SkFontStream.cpp |
@@ -101,7 +101,7 @@ static int count_tables(SkStream* stream, int ttcIndex, size_t* offsetToDir) { |
/////////////////////////////////////////////////////////////////////////////// |
struct SfntHeader { |
- SfntHeader() : fCount(0), fDir(NULL) {} |
+ SfntHeader() : fCount(0), fDir(nullptr) {} |
~SfntHeader() { sk_free(fDir); } |
/** If it returns true, then fCount and fDir are properly initialized. |