Index: chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc |
diff --git a/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc b/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc |
index bbd6e944a22e48920d9394240488cfb59e3b12ca..f70dabe1dbda7b7f9a9ce4536176e36f8de3e225 100644 |
--- a/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc |
+++ b/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc |
@@ -325,7 +325,7 @@ MARGINS BrowserDesktopWindowTreeHostWin::GetDWMFrameMargins() const { |
gfx::Point right_bottom = display::win::ScreenWin::DIPToClientPoint( |
hwnd, gfx::Point(thicknesses.right(), thicknesses.bottom())); |
- if (base::win::GetVersion() <= base::win::VERSION_WIN7) { |
+ if (base::win::GetVersion() < base::win::VERSION_WIN8) { |
// The 2 px (not DIP) at the inner edges of the glass are a light and |
// dark line, so we must inset further to account for those. |
constexpr gfx::Vector2d kDWMEdgeThickness(2, 2); |