Index: ui/gfx/screen_win.cc |
diff --git a/ui/gfx/screen_win.cc b/ui/gfx/screen_win.cc |
index e6a92aa023fe539ed7ad4846c51762d7ead26310..d5ad22b235ff71859149828b774954e99a15b53e 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) { |
DCHECK_EQ(GetSystemMetrics(SM_CXSCREEN), display.size().width()); |
DCHECK_EQ(GetSystemMetrics(SM_CYSCREEN), display.size().height()); |
} |