Index: src/core/SkAdvancedTypefaceMetrics.cpp |
diff --git a/src/core/SkAdvancedTypefaceMetrics.cpp b/src/core/SkAdvancedTypefaceMetrics.cpp |
index 81e98f36132ab7cf238df9f95db71cbd171e7c23..56a557c343f5113a5a5313b57f51adf65f3fd198 100644 |
--- a/src/core/SkAdvancedTypefaceMetrics.cpp |
+++ b/src/core/SkAdvancedTypefaceMetrics.cpp |
@@ -148,7 +148,7 @@ SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* getAdvanceData( |
SkAutoTDelete<SkAdvancedTypefaceMetrics::AdvanceMetric<Data> > result; |
SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* curRange; |
- SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* prevRange = NULL; |
+ SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* prevRange = nullptr; |
Data lastAdvance = kInvalidAdvance; |
int repeatedAdvances = 0; |
int wildCardsInRun = 0; |
@@ -168,7 +168,7 @@ SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* getAdvanceData( |
for (int gId = firstIndex; gId <= lastIndex; gId++) { |
Data advance = kInvalidAdvance; |
if (gId < lastIndex) { |
- // Get glyph id only when subset is NULL, or the id is in subset. |
+ // Get glyph id only when subset is nullptr, or the id is in subset. |
SkASSERT(!subsetGlyphIDs || (subsetIndex < subsetGlyphIDsLength && |
static_cast<uint32_t>(gId) <= subsetGlyphIDs[subsetIndex])); |
if (!subsetGlyphIDs || |