| Index: ui/base/resource/resource_bundle.cc
|
| diff --git a/ui/base/resource/resource_bundle.cc b/ui/base/resource/resource_bundle.cc
|
| index 8d0aa5473ced23089782cdc403a27789813eb041..b499fb8cc2e90d4932044eadb6097f028f4106f0 100644
|
| --- a/ui/base/resource/resource_bundle.cc
|
| +++ b/ui/base/resource/resource_bundle.cc
|
| @@ -606,7 +606,12 @@ void ResourceBundle::InitSharedInstance(Delegate* delegate) {
|
| supported_scale_factors.push_back(closest);
|
| #elif defined(OS_IOS)
|
| gfx::Display display = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay();
|
| - if (display.device_scale_factor() > 1.0) {
|
| + if (display.device_scale_factor() > 2.0) {
|
| + DCHECK_EQ(3.0, display.device_scale_factor());
|
| + // TODO(lliabraa): Add 3x images instead of using 2x on 3x screens.
|
| + // crbug.com/413300
|
| + supported_scale_factors.push_back(SCALE_FACTOR_200P);
|
| + } else if (display.device_scale_factor() > 1.0) {
|
| DCHECK_EQ(2.0, display.device_scale_factor());
|
| supported_scale_factors.push_back(SCALE_FACTOR_200P);
|
| } else {
|
|
|