| Index: chrome/browser/shell_integration_win.cc
|
| diff --git a/chrome/browser/shell_integration_win.cc b/chrome/browser/shell_integration_win.cc
|
| index 32790758ac80e8dca1611102a0d4ba660584e21b..547e716ad92f9100944974a26e7e1d92343a317f 100644
|
| --- a/chrome/browser/shell_integration_win.cc
|
| +++ b/chrome/browser/shell_integration_win.cc
|
| @@ -425,20 +425,18 @@ string16 ShellIntegration::GetAppListAppModelIdForProfile(
|
| profile_path);
|
| }
|
|
|
| -string16 ShellIntegration::GetChromiumIconPath() {
|
| - // Determine the app path. If we can't determine what that is, we have
|
| - // bigger fish to fry...
|
| - FilePath app_path;
|
| - if (!PathService::Get(base::FILE_EXE, &app_path)) {
|
| +string16 ShellIntegration::GetChromiumIconString() {
|
| + // Determine the path to chrome.exe. If we can't determine what that is,
|
| + // we have bigger fish to fry...
|
| + FilePath chrome_exe;
|
| + if (!PathService::Get(base::FILE_EXE, &chrome_exe)) {
|
| NOTREACHED();
|
| return string16();
|
| }
|
|
|
| - string16 icon_path(app_path.value());
|
| - icon_path.push_back(',');
|
| - icon_path += base::IntToString16(
|
| + return ShellUtil::FormatIconLocation(
|
| + chrome_exe.value(),
|
| BrowserDistribution::GetDistribution()->GetIconIndex());
|
| - return icon_path;
|
| }
|
|
|
| void ShellIntegration::MigrateChromiumShortcuts() {
|
|
|