Index: src/ports/SkFontMgr_android.cpp |
diff --git a/src/ports/SkFontMgr_android.cpp b/src/ports/SkFontMgr_android.cpp |
index e966c84f1ff4054cce84cc66ab2caf0b7a3844ef..bcf544cd43ff184a361535d6691b8bd3f4501bfb 100644 |
--- a/src/ports/SkFontMgr_android.cpp |
+++ b/src/ports/SkFontMgr_android.cpp |
@@ -422,7 +422,7 @@ protected: |
? SkFontStyle::kItalic_Slant |
: SkFontStyle::kUpright_Slant); |
- if (NULL != familyName) { |
+ if (familyName) { |
// On Android, we must return NULL when we can't find the requested |
// named typeface so that the system/app can provide their own recovery |
// mechanism. On other platforms we'd provide a typeface from the |