| Index: third_party/crashpad/crashpad/util/synchronization/semaphore_win.cc
|
| diff --git a/third_party/crashpad/crashpad/util/synchronization/semaphore_win.cc b/third_party/crashpad/crashpad/util/synchronization/semaphore_win.cc
|
| index 962c7baeac6aa09a4aad20dbab982d7acfba7820..bef87e04edbf8137d62566b7b08a78763ce21d2f 100644
|
| --- a/third_party/crashpad/crashpad/util/synchronization/semaphore_win.cc
|
| +++ b/third_party/crashpad/crashpad/util/synchronization/semaphore_win.cc
|
| @@ -25,7 +25,8 @@ Semaphore::Semaphore(int value)
|
| value,
|
| std::numeric_limits<LONG>::max(),
|
| nullptr)) {
|
| - PCHECK(semaphore_) << "CreateSemaphore";
|
| + // CreateSemaphore
|
| + CHECK(semaphore_);
|
| }
|
|
|
| Semaphore::~Semaphore() {
|
| @@ -39,7 +40,8 @@ void Semaphore::Wait() {
|
| bool Semaphore::TimedWait(double seconds) {
|
| DCHECK_GE(seconds, 0.0);
|
| DWORD rv = WaitForSingleObject(semaphore_, static_cast<DWORD>(seconds * 1E3));
|
| - PCHECK(rv == WAIT_OBJECT_0 || rv == WAIT_TIMEOUT) << "WaitForSingleObject";
|
| + // WaitForSingleObject
|
| + CHECK(rv == WAIT_OBJECT_0 || rv == WAIT_TIMEOUT);
|
| return rv == WAIT_OBJECT_0;
|
| }
|
|
|
|
|