From 0244a73c49ca792d09bde91ceff47c0c0a4a913e Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 16 Jan 2017 09:26:07 -0800 Subject: [PATCH] Fix cpp linter errors --- atom/browser/ui/views/menu_layout.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/atom/browser/ui/views/menu_layout.cc b/atom/browser/ui/views/menu_layout.cc index 687ffd34460a..d70a4655a121 100644 --- a/atom/browser/ui/views/menu_layout.cc +++ b/atom/browser/ui/views/menu_layout.cc @@ -16,10 +16,10 @@ namespace { #if defined(OS_WIN) gfx::Rect SubtractBorderSize(gfx::Rect bounds) { gfx::Point borderSize = gfx::Point( - GetSystemMetrics(SM_CXSIZEFRAME) - 1, // width - GetSystemMetrics(SM_CYSIZEFRAME) - 1 // height - ); - gfx::Point dpiAdjustedSize = display::win::ScreenWin::ScreenToDIPPoint(borderSize); + GetSystemMetrics(SM_CXSIZEFRAME) - 1, // width + GetSystemMetrics(SM_CYSIZEFRAME) - 1); // height + gfx::Point dpiAdjustedSize = + display::win::ScreenWin::ScreenToDIPPoint(borderSize); bounds.set_x(bounds.x() + dpiAdjustedSize.x()); bounds.set_y(bounds.y() + dpiAdjustedSize.y());