Index: src/pdf/SkPDFFont.h |
diff --git a/src/pdf/SkPDFFont.h b/src/pdf/SkPDFFont.h |
index d85c5826d3b051796044ee6bbe7d8f52f845055f..404e8b762104a9a7dd98928ecdbd7c414301f483 100644 |
--- a/src/pdf/SkPDFFont.h |
+++ b/src/pdf/SkPDFFont.h |
@@ -82,7 +82,7 @@ class SkPDFFont : public SkPDFDict { |
public: |
virtual ~SkPDFFont(); |
- /** Returns the typeface represented by this class. Returns NULL for the |
+ /** Returns the typeface represented by this class. Returns nullptr for the |
* default typeface. |
*/ |
SkTypeface* typeface(); |
@@ -133,7 +133,7 @@ public: |
/** Subset the font based on usage set. Returns a SkPDFFont instance with |
* subset. |
* @param usage Glyph subset requested. |
- * @return NULL if font does not support subsetting, a new instance |
+ * @return nullptr if font does not support subsetting, a new instance |
* of SkPDFFont otherwise. |
*/ |
virtual SkPDFFont* getFontSubset(const SkPDFGlyphSet* usage); |
@@ -175,7 +175,7 @@ protected: |
void adjustGlyphRangeForSingleByteEncoding(uint16_t glyphID); |
// Generate ToUnicode table according to glyph usage subset. |
- // If subset is NULL, all available glyph ids will be used. |
+ // If subset is nullptr, all available glyph ids will be used. |
void populateToUnicodeTable(const SkPDFGlyphSet* subset); |
// Create instances of derived types based on fontInfo. |