Chromium Code Reviews| 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..cc03f2b0b91bfdbc324185f72b8649461c19e10d 100644 |
| --- a/chrome/browser/shell_integration_win.cc |
| +++ b/chrome/browser/shell_integration_win.cc |
| @@ -434,11 +434,8 @@ string16 ShellIntegration::GetChromiumIconPath() { |
| return string16(); |
| } |
| - string16 icon_path(app_path.value()); |
| - icon_path.push_back(','); |
| - icon_path += base::IntToString16( |
| - BrowserDistribution::GetDistribution()->GetIconIndex()); |
| - return icon_path; |
| + return ShellUtil::GetChromeIcon(BrowserDistribution::GetDistribution(), |
| + app_path.value()); |
|
gab
2012/11/13 14:15:12
If this call is going to be used this way (i.e. to
huangs
2012/11/13 20:41:54
Done, calling it GetResourceString() per F2F. Als
grt (UTC plus 2)
2012/11/14 15:55:14
What resource types other than icons are typically
grt (UTC plus 2)
2012/11/14 18:31:09
ping
huangs
2012/11/14 20:35:55
Yeah, GetIconString() sounds more appropriate. Al
|
| } |
| void ShellIntegration::MigrateChromiumShortcuts() { |