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

Unified Diff: chrome/installer/util/shell_util.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/installer/util/shell_util.cc
diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc
index a753f802a160ddf145e294d92f9ec2bf4aed136b..0db7c9ad76973d306a60820ca3f7c49e71cb6848 100644
--- a/chrome/installer/util/shell_util.cc
+++ b/chrome/installer/util/shell_util.cc
@@ -1491,8 +1491,8 @@ bool ShortcutOpListOrRemoveUnknownArgs(
if (!base::win::ResolveShortcut(shortcut_path, NULL, &args))
return false;
- base::CommandLine current_args(base::CommandLine::FromString(
- base::StringPrintf(L"unused_program %ls", args.c_str())));
+ base::CommandLine current_args(base::CommandLine::FromString(L""));
+ //base::StringPrintf(L"unused_program %ls", args.c_str())));
brucedawson 2015/10/20 21:43:00 String printing of arguments.
const char* const kept_switches[] = {
switches::kApp,
switches::kAppId,

Powered by Google App Engine
This is Rietveld 408576698