Index: chrome/installer/util/shell_util.cc |
diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc |
index 8e00ba21c91e77fda94b09472e58ea4ab8d08aa7..6982fa7a8461e30e89f34b26f294142797c786a0 100644 |
--- a/chrome/installer/util/shell_util.cc |
+++ b/chrome/installer/util/shell_util.cc |
@@ -301,8 +301,7 @@ bool ElevateAndRegisterChrome(const std::wstring& chrome_exe, |
HKEY_CURRENT_USER : HKEY_LOCAL_MACHINE; |
RegKey key(reg_root, dist->GetUninstallRegPath().c_str()); |
key.ReadValue(installer_util::kUninstallStringField, &exe_path); |
- CommandLine command_line(L""); |
- command_line.ParseFromString(exe_path); |
+ CommandLine command_line = CommandLine::FromString(exe_path); |
exe_path = command_line.program(); |
} |
if (file_util::PathExists(FilePath::FromWStringHack(exe_path))) { |