Index: ui/gfx/monitor.cc |
diff --git a/ui/gfx/monitor.cc b/ui/gfx/monitor.cc |
index 5783a92babe08ef15f8a3d52832d613c3bb1f082..36dde848a6c5e5bb5a76adf60cc5caec74244898 100644 |
--- a/ui/gfx/monitor.cc |
+++ b/ui/gfx/monitor.cc |
@@ -69,12 +69,8 @@ void Monitor::SetScaleAndBounds( |
// TODO(oshima): For m19, work area/monitor bounds that chrome/webapps sees |
// has (0, 0) origin because it's simpler and enough. Fix this when |
// real multi monitor support is implemented. |
-#if defined(ENABLE_DIP) |
bounds_ = gfx::Rect( |
bounds_in_pixel.size().Scale(1.0f / device_scale_factor_)); |
-#else |
- bounds_ = gfx::Rect(bounds_in_pixel.size()); |
-#endif |
UpdateWorkAreaFromInsets(insets); |
} |