Index: chrome/browser/shell_integration_win.cc |
diff --git a/chrome/browser/shell_integration_win.cc b/chrome/browser/shell_integration_win.cc |
index cebc421754a34c1930961d6dc49da1ff48e7ae23..f52a434c8a9e43e53798df0fb2c781e47c741150 100644 |
--- a/chrome/browser/shell_integration_win.cc |
+++ b/chrome/browser/shell_integration_win.cc |
@@ -111,8 +111,7 @@ ShellIntegration::DefaultBrowserState ShellIntegration::IsDefaultBrowser() { |
if (!key.Valid() || !key.ReadValue(L"", &value)) |
return UNKNOWN_DEFAULT_BROWSER; |
// Need to normalize path in case it's been munged. |
- CommandLine command_line(L""); |
- command_line.ParseFromString(value); |
+ CommandLine command_line = CommandLine::FromString(value); |
std::wstring short_path; |
GetShortPathName(command_line.program().c_str(), |
WriteInto(&short_path, MAX_PATH), MAX_PATH); |