Index: src/ports/SkTypeface_win_dw.cpp |
diff --git a/src/ports/SkTypeface_win_dw.cpp b/src/ports/SkTypeface_win_dw.cpp |
index 7b6b522cea09f0c8c6bd7288423ff02fb278e942..9c727e715eadeff3cd1a33ce997b146f1d099dc7 100644 |
--- a/src/ports/SkTypeface_win_dw.cpp |
+++ b/src/ports/SkTypeface_win_dw.cpp |
@@ -199,7 +199,7 @@ size_t DWriteFontTypeface::onGetTableData(SkFontTableTag tag, size_t offset, |
return 0; |
} |
size_t size = SkTMin(length, table.fSize - offset); |
- if (NULL != data) { |
+ if (data) { |
memcpy(data, table.fData + offset, size); |
} |