Index: chrome_frame/chrome_launcher.cc |
diff --git a/chrome_frame/chrome_launcher.cc b/chrome_frame/chrome_launcher.cc |
index d7cca9c81170e380fa5f7e24eb633ebe89a8e93d..1f9f0d16e527109dac828323d367ff13cf50981d 100644 |
--- a/chrome_frame/chrome_launcher.cc |
+++ b/chrome_frame/chrome_launcher.cc |
@@ -80,8 +80,7 @@ void SanitizeCommandLine(const CommandLine& original, CommandLine* sanitized) { |
bool SanitizeAndLaunchChrome(const wchar_t* command_line) { |
std::wstring command_line_with_program(L"dummy.exe "); |
command_line_with_program += command_line; |
- CommandLine original(L""); |
- original.ParseFromString(command_line_with_program); |
+ CommandLine original = CommandLine::FromString(command_line_with_program); |
CommandLine sanitized(GetChromeExecutablePath()); |
SanitizeCommandLine(original, &sanitized); |