Index: chrome/installer/util/chrome_browser_operations.cc |
diff --git a/chrome/installer/util/chrome_browser_operations.cc b/chrome/installer/util/chrome_browser_operations.cc |
index 59757e4031cfb62d2c3b0b94fe429e5a5b594105..c37626126884c72ce4b62389ae612af7fa86aeab 100644 |
--- a/chrome/installer/util/chrome_browser_operations.cc |
+++ b/chrome/installer/util/chrome_browser_operations.cc |
@@ -112,7 +112,8 @@ void ChromeBrowserOperations::AddDefaultShortcutProperties( |
properties->set_target(target_exe); |
if (!properties->has_icon()) { |
- int icon_index = dist->GetIconIndex(); |
+ int icon_index = |
+ dist->GetIconIndex(BrowserDistribution::SHORTCUT_CHROME); |
base::FilePath prefs_path(target_exe.DirName().AppendASCII( |
installer::kDefaultMasterPrefs)); |
if (base::PathExists(prefs_path)) { |