summaryrefslogtreecommitdiffstats
path: root/chrome/browser/themes/browser_theme_pack.cc
diff options
context:
space:
mode:
authorpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-15 16:39:13 +0000
committerpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-15 16:39:13 +0000
commitc48296fcb1589c7205397706151016cd08a7bc73 (patch)
tree5ec5d706fae92f6f534deea5cd3fc9922c8a0650 /chrome/browser/themes/browser_theme_pack.cc
parent7b7ebcfd52c8536454ef2047e142b9c2d0348634 (diff)
downloadchromium_src-c48296fcb1589c7205397706151016cd08a7bc73.zip
chromium_src-c48296fcb1589c7205397706151016cd08a7bc73.tar.gz
chromium_src-c48296fcb1589c7205397706151016cd08a7bc73.tar.bz2
Use HiDPI app icons on CrOS when a theme is present.
BUG=140931 Test=Manual Run Chrome using --force-device-scale-factor=2 Change theme. Close chrome and restart. Ensure that the app icons use hidpi images. TBR=sky, erg Review URL: https://chromiumcodereview.appspot.com/10832313 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151703 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/themes/browser_theme_pack.cc')
-rw-r--r--chrome/browser/themes/browser_theme_pack.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/themes/browser_theme_pack.cc b/chrome/browser/themes/browser_theme_pack.cc
index 12b073e..a2672f7 100644
--- a/chrome/browser/themes/browser_theme_pack.cc
+++ b/chrome/browser/themes/browser_theme_pack.cc
@@ -685,11 +685,7 @@ BrowserThemePack::BrowserThemePack()
colors_(NULL),
display_properties_(NULL),
source_images_(NULL) {
-#if defined(OS_MACOSX)
scale_factors_ = ui::GetSupportedScaleFactors();
-#else
- scale_factors_.push_back(ui::SCALE_FACTOR_100P);
-#endif
}
void BrowserThemePack::BuildHeader(const Extension* extension) {