| Index: ui/aura/monitor_change_observer_x11.cc
|
| diff --git a/ui/aura/monitor_change_observer_x11.cc b/ui/aura/monitor_change_observer_x11.cc
|
| index 30b998145b8e36fc247f88559015dd0c67ae51cd..59a0ebe51bd2a0a57264aef05f85d7280d091a81 100644
|
| --- a/ui/aura/monitor_change_observer_x11.cc
|
| +++ b/ui/aura/monitor_change_observer_x11.cc
|
| @@ -112,8 +112,7 @@ void MonitorChangeObserverX11::NotifyMonitorChange() {
|
| gfx::Rect(crtc_info->x, crtc_info->y, mode->width, mode->height)));
|
|
|
| float device_scale_factor = 1.0f;
|
| - if (ui::IsDIPEnabled() &&
|
| - output_info->mm_width > 0 &&
|
| + if (output_info->mm_width > 0 &&
|
| (kInchInMm * mode->width / output_info->mm_width) >
|
| kHighDensityDIPThreshold) {
|
| device_scale_factor = 2.0f;
|
|
|