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

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

Issue 15255004: Refactor of BrowserDistribution. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rework Created 7 years, 7 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_app_host_operations.cc
diff --git a/chrome/installer/util/chrome_app_host_operations.cc b/chrome/installer/util/chrome_app_host_operations.cc
index 361f952ef10e612e6fbc4a2e4a58bf251e60ece5..81a267b7e4a9c7baec11e03eeb129694f24a2cdf 100644
--- a/chrome/installer/util/chrome_app_host_operations.cc
+++ b/chrome/installer/util/chrome_app_host_operations.cc
@@ -108,7 +108,10 @@ void ChromeAppHostOperations::AddDefaultShortcutProperties(
}
if (!properties->has_icon())
- properties->set_icon(target_exe, dist->GetIconIndex());
+ properties->set_icon(
+ target_exe,
+ dist->GetShortcutInfo(BrowserDistribution::SHORTCUT_APP_LAUNCHER)
+ .icon_index);
if (!properties->has_app_id()) {
std::vector<string16> components;

Powered by Google App Engine
This is Rietveld 408576698