Index: src/core/SkDeviceProfile.cpp |
diff --git a/src/core/SkDeviceProfile.cpp b/src/core/SkDeviceProfile.cpp |
index 11d5c853f3b81de12fe2d440337a400e1789c3a6..e1c10c87d77366ba578d2d392981bf436abf1302 100644 |
--- a/src/core/SkDeviceProfile.cpp |
+++ b/src/core/SkDeviceProfile.cpp |
@@ -51,7 +51,7 @@ static SkDeviceProfile* gGlobalProfile; |
SkDeviceProfile* SkDeviceProfile::GetDefault() { |
SkAutoMutexAcquire amc(gMutex); |
- if (NULL == gDefaultProfile) { |
+ if (nullptr == gDefaultProfile) { |
gDefaultProfile = SkDeviceProfile::Create(DEFAULT_GAMMAEXP, |
DEFAULT_CONTRASTSCALE, |
DEFAULT_LCDCONFIG, |
@@ -63,7 +63,7 @@ SkDeviceProfile* SkDeviceProfile::GetDefault() { |
SkDeviceProfile* SkDeviceProfile::RefGlobal() { |
SkAutoMutexAcquire amc(gMutex); |
- if (NULL == gGlobalProfile) { |
+ if (nullptr == gGlobalProfile) { |
gGlobalProfile = SkDeviceProfile::GetDefault(); |
} |
gGlobalProfile->ref(); |