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

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: 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..f12cf66436534fab17ad37fca3c3f96b6f8fd95f 100644
--- a/chrome/installer/util/chrome_app_host_operations.cc
+++ b/chrome/installer/util/chrome_app_host_operations.cc
@@ -108,7 +108,8 @@ void ChromeAppHostOperations::AddDefaultShortcutProperties(
}
if (!properties->has_icon())
- properties->set_icon(target_exe, dist->GetIconIndex());
+ properties->set_icon(target_exe,
+ dist->GetShortcutInfo(BrowserDistribution::SHORTCUT_CHROME).icon_index);
huangs 2013/05/21 21:35:41 SHORTCUT_APP_LAUNCHER?
calamity 2013/05/24 02:03:11 Done.
if (!properties->has_app_id()) {
std::vector<string16> components;

Powered by Google App Engine
This is Rietveld 408576698