summaryrefslogtreecommitdiffstats
path: root/win8
diff options
context:
space:
mode:
authorrvargas <rvargas@chromium.org>2014-09-26 12:31:46 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-26 19:31:58 +0000
commitdaef563b2eddd92c3c9bd69906ca12f3de4b3629 (patch)
tree5272b1c5dbe1712eef2cd855d0a7e128432a5975 /win8
parentcf5316fe0e4f8755be26807ebc8aeeeebc5caca7 (diff)
downloadchromium_src-daef563b2eddd92c3c9bd69906ca12f3de4b3629.zip
chromium_src-daef563b2eddd92c3c9bd69906ca12f3de4b3629.tar.gz
chromium_src-daef563b2eddd92c3c9bd69906ca12f3de4b3629.tar.bz2
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}
Diffstat (limited to 'win8')
-rw-r--r--win8/delegate_execute/delegate_execute.cc2
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.