Chromium Code Reviews| Index: ui/gfx/screen_win.cc |
| diff --git a/ui/gfx/screen_win.cc b/ui/gfx/screen_win.cc |
| index e6a92aa023fe539ed7ad4846c51762d7ead26310..e45c58938a13d27e5f353d7fa14a7f435badbb03 100644 |
| --- a/ui/gfx/screen_win.cc |
| +++ b/ui/gfx/screen_win.cc |
| @@ -160,7 +160,7 @@ gfx::Display ScreenWin::GetPrimaryDisplay() const { |
| gfx::Display display = GetDisplay(mi); |
| // TODO(kevers|girard): Test if these checks can be reintroduced for high-DIP |
| // once more of the app is DIP-aware. |
| - if (!(GetDPIScale() > 1.0 || IsHighDPIEnabled())) { |
| + if (!(GetDPIScale() > 1.0)) { |
|
sky
2014/10/23 16:53:51
nit: GetDPIScale == 1.0
scottmg
2014/10/23 22:09:01
Done.
|
| DCHECK_EQ(GetSystemMetrics(SM_CXSCREEN), display.size().width()); |
| DCHECK_EQ(GetSystemMetrics(SM_CYSCREEN), display.size().height()); |
| } |