Index: src/ports/SkFontHost_linux.cpp |
diff --git a/src/ports/SkFontHost_linux.cpp b/src/ports/SkFontHost_linux.cpp |
index 891e4617f3e6f6e2ec03979d330afe47ea2b1b9c..72a63996129852c89bc39c952aab8a3c5b335529 100644 |
--- a/src/ports/SkFontHost_linux.cpp |
+++ b/src/ports/SkFontHost_linux.cpp |
@@ -293,7 +293,7 @@ protected: |
: SkFontStyle::kUpright_Slant); |
SkTypeface* tf = NULL; |
- if (NULL != familyName) { |
+ if (familyName) { |
tf = this->onMatchFamilyStyle(familyName, style); |
} |