Index: src/utils/win/SkDWriteFontFileStream.cpp |
diff --git a/src/utils/win/SkDWriteFontFileStream.cpp b/src/utils/win/SkDWriteFontFileStream.cpp |
index c7dc3b212814aa0c94106939f3a6eb901ec2b480..0f0c628f9a693e1627406070c830f21d1b365765 100644 |
--- a/src/utils/win/SkDWriteFontFileStream.cpp |
+++ b/src/utils/win/SkDWriteFontFileStream.cpp |
@@ -188,7 +188,7 @@ HRESULT STDMETHODCALLTYPE SkDWriteFontFileStreamWrapper::ReadFileFragment( |
} |
const void* data = fStream->getMemoryBase(); |
- if (NULL != data) { |
+ if (data) { |
*fragmentStart = static_cast<BYTE const*>(data) + static_cast<size_t>(fileOffset); |
*fragmentContext = NULL; |