From 60e68394b9916739f014faf2e1113d80fff53291 Mon Sep 17 00:00:00 2001 From: "stoyan@google.com" Date: Tue, 13 Oct 2009 18:01:41 +0000 Subject: Fix ChromeFrame build caused by http://src.chromium.org/viewvc/chrome?view=rev&revision=28779 TBR=amit Review URL: http://codereview.chromium.org/274021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28840 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome_frame/chrome_launcher.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome_frame') diff --git a/chrome_frame/chrome_launcher.cc b/chrome_frame/chrome_launcher.cc index f5e2903..f742a28 100644 --- a/chrome_frame/chrome_launcher.cc +++ b/chrome_frame/chrome_launcher.cc @@ -20,7 +20,7 @@ const wchar_t kLauncherExeBaseName[] = L"chrome_launcher.exe"; // These are the switches we will allow (along with their values) in the // safe-for-Low-Integrity version of the Chrome command line. -const wchar_t* kAllowedSwitches[] = { +const char* kAllowedSwitches[] = { switches::kAutomationClientChannelID, switches::kDisableMetrics, switches::kNoFirstRun, @@ -61,7 +61,7 @@ CommandLine* CreateLaunchCommandLine() { void SanitizeCommandLine(const CommandLine& original, CommandLine* sanitized) { int num_sanitized_switches = 0; for (int i = 0; i < arraysize(kAllowedSwitches); ++i) { - const wchar_t* current_switch = kAllowedSwitches[i]; + const char* current_switch = kAllowedSwitches[i]; if (original.HasSwitch(current_switch)) { ++num_sanitized_switches; std::wstring switch_value = original.GetSwitchValue(current_switch); -- cgit v1.1