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 273fd5f8c66772f9f2ca36f2fc7e8144457081e2..b18831bde52ca5a2b832f5a3f73e3e844fbef09e 100644 |
--- a/content/browser/android/content_view_core_impl.cc |
+++ b/content/browser/android/content_view_core_impl.cc |
@@ -98,7 +98,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()); |