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

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

Issue 1926403002: Remove BrowserDistribution::SHORTCUT_APP_LAUNCHER (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20160406-Mac-EnableAppLauncher0
Patch Set: lint headers Created 4 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
« no previous file with comments | « chrome/installer/util/browser_distribution.cc ('k') | chrome/installer/util/chrome_frame_distribution.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5af076b8bd0c2a723bb9358da15a90b888e5342b..ff3b31b8825ed6ad27efa42784b95a7f444624de 100644
--- a/chrome/installer/util/chrome_browser_operations.cc
+++ b/chrome/installer/util/chrome_browser_operations.cc
@@ -117,10 +117,8 @@ void ChromeBrowserOperations::AddDefaultShortcutProperties(
if (!properties->has_target())
properties->set_target(target_exe);
- if (!properties->has_icon()) {
- properties->set_icon(
- target_exe, dist->GetIconIndex(BrowserDistribution::SHORTCUT_CHROME));
- }
+ if (!properties->has_icon())
+ properties->set_icon(target_exe, dist->GetIconIndex());
if (!properties->has_app_id()) {
properties->set_app_id(ShellUtil::GetBrowserModelId(
« no previous file with comments | « chrome/installer/util/browser_distribution.cc ('k') | chrome/installer/util/chrome_frame_distribution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698