| Index: src/core/SkSemaphore.cpp
|
| diff --git a/src/core/SkSemaphore.cpp b/src/core/SkSemaphore.cpp
|
| index 29d0e0148af37ced6dfd52d768237bb27c93098d..5efdd2e94fb0366abe70c832c1425e20670d2296 100644
|
| --- a/src/core/SkSemaphore.cpp
|
| +++ b/src/core/SkSemaphore.cpp
|
| @@ -25,15 +25,15 @@
|
| HANDLE fSemaphore;
|
|
|
| OSSemaphore() {
|
| - fSemaphore = CreateSemaphore(NULL /*security attributes, optional*/,
|
| + fSemaphore = CreateSemaphore(nullptr /*security attributes, optional*/,
|
| 0 /*initial count*/,
|
| MAXLONG /*max count*/,
|
| - NULL /*name, optional*/);
|
| + nullptr /*name, optional*/);
|
| }
|
| ~OSSemaphore() { CloseHandle(fSemaphore); }
|
|
|
| void signal(int n) {
|
| - ReleaseSemaphore(fSemaphore, n, NULL/*returns previous count, optional*/);
|
| + ReleaseSemaphore(fSemaphore, n, nullptr/*returns previous count, optional*/);
|
| }
|
| void wait() { WaitForSingleObject(fSemaphore, INFINITE/*timeout in ms*/); }
|
| };
|
|
|