| Index: src/ports/SkTLS_win.cpp
|
| diff --git a/src/ports/SkTLS_win.cpp b/src/ports/SkTLS_win.cpp
|
| index c6f3dfc638138734be8bc1ccfc2bb037bcabbf58..cdfb465a7e5f3f07c4a2b55bd68070127a03f9e7 100644
|
| --- a/src/ports/SkTLS_win.cpp
|
| +++ b/src/ports/SkTLS_win.cpp
|
| @@ -14,7 +14,7 @@ SK_DECLARE_STATIC_MUTEX(gMutex);
|
|
|
| void* SkTLS::PlatformGetSpecific(bool forceCreateTheSlot) {
|
| if (!forceCreateTheSlot && !gOnce) {
|
| - return NULL;
|
| + return nullptr;
|
| }
|
|
|
| if (!gOnce) {
|
| @@ -49,9 +49,9 @@ void SkTLS::PlatformSetSpecific(void* ptr) {
|
| void NTAPI onTLSCallback(PVOID unused, DWORD reason, PVOID unused2) {
|
| if ((DLL_THREAD_DETACH == reason || DLL_PROCESS_DETACH == reason) && gOnce) {
|
| void* ptr = TlsGetValue(gTlsIndex);
|
| - if (ptr != NULL) {
|
| + if (ptr != nullptr) {
|
| SkTLS::Destructor(ptr);
|
| - TlsSetValue(gTlsIndex, NULL);
|
| + TlsSetValue(gTlsIndex, nullptr);
|
| }
|
| }
|
| }
|
|
|