Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1287)

Unified Diff: chrome/browser/first_run/upgrade_util_win.cc

Issue 606473002: Remove implicit HANDLE conversions from chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove spurious file and fix indent (+rebase) Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/first_run/upgrade_util_win.cc
diff --git a/chrome/browser/first_run/upgrade_util_win.cc b/chrome/browser/first_run/upgrade_util_win.cc
index 2334500b55b46a9f3daff0f202eb7f4bc64502d9..55c327c0c102542bc068d1eb5feae444c3a1ff89 100644
--- a/chrome/browser/first_run/upgrade_util_win.cc
+++ b/chrome/browser/first_run/upgrade_util_win.cc
@@ -264,7 +264,7 @@ bool SwapNewChromeExeIfPresent() {
options.start_hidden = true;
if (base::LaunchProcess(rename_cmd, options, &handle)) {
DWORD exit_code;
- ::GetExitCodeProcess(handle, &exit_code);
+ ::GetExitCodeProcess(handle.Get(), &exit_code);
if (exit_code == installer::RENAME_SUCCESSFUL)
return true;
}

Powered by Google App Engine
This is Rietveld 408576698