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

Unified Diff: chrome/installer/util/chrome_browser_operations.cc

Issue 15255004: Refactor of BrowserDistribution. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 months 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/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)) {
« no previous file with comments | « chrome/installer/util/chrome_app_host_operations.cc ('k') | chrome/installer/util/chrome_frame_distribution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698