Commit daef563b authored by rvargas's avatar rvargas Committed by Commit bot

Remove implicit HANDLE conversions from win8.

BUG=416722
R=ananta@chromium.org

Review URL: https://codereview.chromium.org/599173003

Cr-Commit-Position: refs/heads/master@{#297004}
parent cf5316fe
...@@ -97,7 +97,7 @@ int RelaunchChrome(const DelegateExecuteOperation& operation) { ...@@ -97,7 +97,7 @@ int RelaunchChrome(const DelegateExecuteOperation& operation) {
ScopedHandle mutex(OpenMutexW(SYNCHRONIZE, FALSE, operation.mutex().c_str())); ScopedHandle mutex(OpenMutexW(SYNCHRONIZE, FALSE, operation.mutex().c_str()));
if (mutex.IsValid()) { if (mutex.IsValid()) {
const int kWaitSeconds = 5; const int kWaitSeconds = 5;
DWORD result = ::WaitForSingleObject(mutex, kWaitSeconds * 1000); DWORD result = ::WaitForSingleObject(mutex.Get(), kWaitSeconds * 1000);
if (result == WAIT_ABANDONED) { if (result == WAIT_ABANDONED) {
// This is the normal case. Chrome exits and windows marks the mutex as // This is the normal case. Chrome exits and windows marks the mutex as
// abandoned. // abandoned.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment