Index: ui/base/resource/resource_bundle.cc |
diff --git a/ui/base/resource/resource_bundle.cc b/ui/base/resource/resource_bundle.cc |
index a2aa5824a19ead6a593c0d9865b7240eb83b4833..5c71a3e61c61ad5bfa4757f7c2d74d6ae22a9b7e 100644 |
--- a/ui/base/resource/resource_bundle.cc |
+++ b/ui/base/resource/resource_bundle.cc |
@@ -625,7 +625,7 @@ void ResourceBundle::InitSharedInstance(Delegate* delegate) { |
if (closest != SCALE_FACTOR_100P) |
supported_scale_factors.push_back(closest); |
#elif defined(OS_IOS) |
- gfx::Display display = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); |
+ gfx::Display display = gfx::Screen::GetScreen()->GetPrimaryDisplay(); |
if (display.device_scale_factor() > 2.0) { |
DCHECK_EQ(3.0, display.device_scale_factor()); |
supported_scale_factors.push_back(SCALE_FACTOR_300P); |