Index: win8/delegate_execute/delegate_execute.cc |
diff --git a/win8/delegate_execute/delegate_execute.cc b/win8/delegate_execute/delegate_execute.cc |
index 986911cf8948fa844dbd418ac342266db33dd7eb..575ed9e83582245b712ab2c2e26ebe977f2cc500 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. |