Commit 5223aab7 authored by oshima@chromium.org's avatar oshima@chromium.org

Include 2x assets when enable_hidpi=1 is specified on linux_aura

BUG=143619
R=erg@chromium.org

Review URL: https://codereview.chromium.org/132183004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244302 0039d316-1c4b-4281-b951-d872f2087c98
parent 4e477b49
...@@ -571,6 +571,8 @@ void ResourceBundle::InitSharedInstance(Delegate* delegate) { ...@@ -571,6 +571,8 @@ void ResourceBundle::InitSharedInstance(Delegate* delegate) {
#elif defined(OS_CHROMEOS) #elif defined(OS_CHROMEOS)
// TODO(oshima): Include 200P only if the device support 200P // TODO(oshima): Include 200P only if the device support 200P
supported_scale_factors.push_back(SCALE_FACTOR_200P); supported_scale_factors.push_back(SCALE_FACTOR_200P);
#elif defined(OS_LINUX) && defined(ENABLE_HIDPI)
supported_scale_factors.push_back(SCALE_FACTOR_200P);
#endif #endif
ui::SetSupportedScaleFactors(supported_scale_factors); ui::SetSupportedScaleFactors(supported_scale_factors);
#if defined(OS_WIN) #if defined(OS_WIN)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment