Index: src/ports/SkTime_Unix.cpp |
diff --git a/src/ports/SkTime_Unix.cpp b/src/ports/SkTime_Unix.cpp |
index 84f1a4e374bbcd58bf56658cff665b842eb12c48..ec96bb8a90d3150dafa294ee08d04c741dd3e191 100644 |
--- a/src/ports/SkTime_Unix.cpp |
+++ b/src/ports/SkTime_Unix.cpp |
@@ -38,6 +38,6 @@ void SkTime::GetDateTime(DateTime* dt) |
SkMSec SkTime::GetMSecs() |
{ |
struct timeval tv; |
- gettimeofday(&tv, NULL); |
+ gettimeofday(&tv, nullptr); |
return (SkMSec) (tv.tv_sec * 1000 + tv.tv_usec / 1000 ); // microseconds to milliseconds |
} |