Index: chrome/browser/shell_integration_win.cc |
diff --git a/chrome/browser/shell_integration_win.cc b/chrome/browser/shell_integration_win.cc |
index 06b28c1bd380ff4e49741344a77d1e4907363558..9b1c7d3f83c77d130382bb3d7e83a27075e1d210 100644 |
--- a/chrome/browser/shell_integration_win.cc |
+++ b/chrome/browser/shell_integration_win.cc |
@@ -346,7 +346,7 @@ ShellIntegration::DefaultBrowserState ShellIntegration::IsDefaultBrowser() { |
// Need to normalize path in case it's been munged. |
CommandLine command_line = CommandLine::FromString(value); |
std::wstring short_path; |
- GetShortPathName(command_line.program().c_str(), |
+ GetShortPathName(command_line.GetProgram().value().c_str(), |
WriteInto(&short_path, MAX_PATH), MAX_PATH); |
if (!FilePath::CompareEqualIgnoreCase(short_path, short_app_path)) |
return NOT_DEFAULT_BROWSER; |