summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_icon_win.cc
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 21:17:15 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 21:17:15 +0000
commitb7564c1b011a4a2aedd21af53577bf049c44ecfc (patch)
treebf2be556d62ab52e15096b377d470ccc8fa6a2c7 /chrome/browser/app_icon_win.cc
parent9443d7241ddc9c4e22455130615031d2e0c44003 (diff)
downloadchromium_src-b7564c1b011a4a2aedd21af53577bf049c44ecfc.zip
chromium_src-b7564c1b011a4a2aedd21af53577bf049c44ecfc.tar.gz
chromium_src-b7564c1b011a4a2aedd21af53577bf049c44ecfc.tar.bz2
Win SxS: Creating a new shortcut with enable-udd-profiles uses wrong icon.
BUG=44847 TEST=see bug Review URL: http://codereview.chromium.org/2557001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48871 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/app_icon_win.cc')
-rw-r--r--chrome/browser/app_icon_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/app_icon_win.cc b/chrome/browser/app_icon_win.cc
index 9d5cdc2..bd18aaa 100644
--- a/chrome/browser/app_icon_win.cc
+++ b/chrome/browser/app_icon_win.cc
@@ -14,7 +14,7 @@
HICON GetAppIcon() {
int icon_id = IDR_MAINFRAME;
#if defined(GOOGLE_CHROME_BUILD)
- if (BrowserDistribution::GetDistribution()->ShouldUseAlternateIcon())
+ if (BrowserDistribution::GetDistribution()->GetIconIndex())
icon_id = IDR_SXS;
#endif
return LoadIcon(GetModuleHandle(chrome::kBrowserResourcesDll),