Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(681)

Unified Diff: chrome/browser/shell_integration_win.cc

Issue 11359133: Add default icon to app_host.exe, and use it in shortcuts during installation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Renaming and cleanups. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..18daed7a2bf032e21d7cd076ad34a6a6aaf56d6e 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::GetResourceString(
+ app_path.value(), BrowserDistribution::GetDistribution()->GetIconIndex());
}
void ShellIntegration::MigrateChromiumShortcuts() {

Powered by Google App Engine
This is Rietveld 408576698