Index: src/ports/SkFontMgr_fontconfig.cpp |
diff --git a/src/ports/SkFontMgr_fontconfig.cpp b/src/ports/SkFontMgr_fontconfig.cpp |
index b54835d1be68d07e73e11d5531509d47c217b206..8dec85f6d570881ea434ae7d4ee9ce1864141253 100644 |
--- a/src/ports/SkFontMgr_fontconfig.cpp |
+++ b/src/ports/SkFontMgr_fontconfig.cpp |
@@ -796,7 +796,7 @@ protected: |
italic ? SkFontStyle::kItalic_Slant |
: SkFontStyle::kUpright_Slant); |
SkAutoTUnref<SkTypeface> typeface(this->matchFamilyStyle(familyName, style)); |
- if (NULL != typeface.get()) { |
+ if (typeface.get()) { |
return typeface.detach(); |
} |