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 01a106b4cb355bc4c9389a0bd26d765725441bae..c25b0282ced9c0c46d50b73d234e1314c76bba8f 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 (file_util::PathExists(prefs_path)) { |