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

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

Issue 1410333006: Enough hacks to make wstring printfs unneeded (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 e5933c78dd33ba63dcc631bb6e4b343a50eda164..c3971331e23493733899e0045ad935ccf73f8d35 100644
--- a/chrome/browser/first_run/upgrade_util_win.cc
+++ b/chrome/browser/first_run/upgrade_util_win.cc
@@ -179,8 +179,8 @@ bool RelaunchChromeHelper(const base::CommandLine& command_line,
// Windows marks our mutex as abandoned and the wait is satisfied. The format
// of the named mutex is important. See DelegateExecuteOperation for more
// details.
- base::string16 mutex_name =
- base::StringPrintf(L"chrome.relaunch.%d", ::GetCurrentProcessId());
+ base::string16 mutex_name = L"";
+ //base::StringPrintf(L"chrome.relaunch.%d", ::GetCurrentProcessId());
HANDLE mutex = ::CreateMutexW(NULL, TRUE, mutex_name.c_str());
// The |mutex| handle needs to be leaked. See comment above.
if (!mutex) {

Powered by Google App Engine
This is Rietveld 408576698