Index: tools/Resources.cpp |
diff --git a/tools/Resources.cpp b/tools/Resources.cpp |
index 75625b40a61d10bbfa9a64ea5bd9308c4031fd58..a2a59029bcc1ad5861854017d00617b0addaa3e9 100644 |
--- a/tools/Resources.cpp |
+++ b/tools/Resources.cpp |
@@ -44,14 +44,14 @@ SkStreamAsset* GetResourceAsStream(const char* resource) { |
return stream.detach(); |
} else { |
SkDebugf("Resource %s not found.\n", resource); |
- return NULL; |
+ return nullptr; |
} |
} |
SkTypeface* GetResourceAsTypeface(const char* resource) { |
SkAutoTDelete<SkStreamAsset> stream(GetResourceAsStream(resource)); |
if (!stream) { |
- return NULL; |
+ return nullptr; |
} |
return SkTypeface::CreateFromStream(stream.detach()); |
} |