Index: src/ports/SkFontHost_fontconfig.cpp |
diff --git a/src/ports/SkFontHost_fontconfig.cpp b/src/ports/SkFontHost_fontconfig.cpp |
index b1a512b0ce3ed91a446a3995403a6ec699478a72..ace705871416ceb6d0f2ab9bb4dca6f823583416 100644 |
--- a/src/ports/SkFontHost_fontconfig.cpp |
+++ b/src/ports/SkFontHost_fontconfig.cpp |
@@ -137,7 +137,7 @@ SkStream* FontConfigTypeface::onOpenStream(int* ttcIndex) const { |
size_t length = stream->getLength(); |
const void* memory = stream->getMemoryBase(); |
- if (NULL != memory) { |
+ if (memory) { |
return new SkMemoryStream(memory, length, true); |
} |