summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authorcpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-05 01:30:47 +0000
committercpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-05 01:30:47 +0000
commit696bdc8641a331f9260aed274387888d512a882e (patch)
tree7906830f15fbeed9064d6226770bf99a5ce527fb /chrome/installer
parenta1e3ff8df728e0694ca9191fb9e50ed2f5be5968 (diff)
downloadchromium_src-696bdc8641a331f9260aed274387888d512a882e.zip
chromium_src-696bdc8641a331f9260aed274387888d512a882e.tar.gz
chromium_src-696bdc8641a331f9260aed274387888d512a882e.tar.bz2
Fix StringPrintf that is now broken
- command line for chrome is not working BUG=none TEST=now toast test with --inactive-user-toast=0 should work TBR=huanr Review URL: http://codereview.chromium.org/570037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38156 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/util/google_chrome_distribution.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc
index 59d9c84..debf556 100644
--- a/chrome/installer/util/google_chrome_distribution.cc
+++ b/chrome/installer/util/google_chrome_distribution.cc
@@ -535,8 +535,8 @@ void GoogleChromeDistribution::LaunchUserExperiment(
void GoogleChromeDistribution::InactiveUserToastExperiment(int flavor) {
bool has_welcome_url = (flavor == 0);
// Possibly add a url to launch depending on the experiment flavor.
- std::wstring options(
- StringPrintf(L"--%ls=%d", switches::kTryChromeAgain, flavor));
+ std::wstring options(StringPrintf(L"--%ls=%d",
+ ASCIIToUTF16(switches::kTryChromeAgain).c_str(), flavor));
if (has_welcome_url) {
const std::wstring url(GetWelcomeBackUrl());
options.append(L" -- ");