diff options
-rw-r--r-- | win8/delegate_execute/delegate_execute.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win8/delegate_execute/delegate_execute.cc b/win8/delegate_execute/delegate_execute.cc index 986911c..575ed9e 100644 --- a/win8/delegate_execute/delegate_execute.cc +++ b/win8/delegate_execute/delegate_execute.cc @@ -97,7 +97,7 @@ int RelaunchChrome(const DelegateExecuteOperation& operation) { ScopedHandle mutex(OpenMutexW(SYNCHRONIZE, FALSE, operation.mutex().c_str())); if (mutex.IsValid()) { const int kWaitSeconds = 5; - DWORD result = ::WaitForSingleObject(mutex, kWaitSeconds * 1000); + DWORD result = ::WaitForSingleObject(mutex.Get(), kWaitSeconds * 1000); if (result == WAIT_ABANDONED) { // This is the normal case. Chrome exits and windows marks the mutex as // abandoned. |