Index: src/utils/win/SkHRESULT.cpp |
diff --git a/src/utils/win/SkHRESULT.cpp b/src/utils/win/SkHRESULT.cpp |
index 495f074eb258777160d129d1c1dbd04b11798247..0aea4a622e934c90b5e33b6f548d344ee163ce3f 100644 |
--- a/src/utils/win/SkHRESULT.cpp |
+++ b/src/utils/win/SkHRESULT.cpp |
@@ -10,7 +10,7 @@ |
#include "SkHRESULT.h" |
void SkTraceHR(const char* file, unsigned long line, HRESULT hr, const char* msg) { |
- if (NULL != msg) { |
+ if (msg) { |
SkDebugf("%s\n", msg); |
} |
SkDebugf("%s(%lu) : error 0x%x: ", file, line, hr); |