Index: content/browser/android/content_view_core_impl.cc |
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc |
index d1cf353ec6335cb4b4b55326926fda9b97b4caae..52b4abadd33679be0b8baded9f1fa910a054ccb3 100644 |
--- a/content/browser/android/content_view_core_impl.cc |
+++ b/content/browser/android/content_view_core_impl.cc |
@@ -97,7 +97,7 @@ ContentViewCoreImpl::ContentViewCoreImpl(JNIEnv* env, jobject obj, |
InitJNI(env, obj); |
- if (!gfx::Screen::IsDIPEnabled()) { |
+ if (!gfx::Screen::GetNativeScreen()->IsDIPEnabled()) { |
dpi_scale_ = 1; |
} else { |
scoped_ptr<content::DeviceInfo> device_info(new content::DeviceInfo()); |