From 381366daf146dda5d88d65fb93719dfa718a4a12 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 11 Jul 2016 16:43:01 +0900 Subject: [PATCH] Fix indention --- atom/browser/native_window_mac.mm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index 8d78a1204348..756d2487d2ed 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -800,13 +800,13 @@ bool NativeWindowMac::IsResizable() { void NativeWindowMac::SetAspectRatio(double aspect_ratio, const gfx::Size& extra_size) { - NativeWindow::SetAspectRatio(aspect_ratio, extra_size); + NativeWindow::SetAspectRatio(aspect_ratio, extra_size); - // Reset the behaviour to default if aspect_ratio is set to 0 or less. - if (aspect_ratio > 0.0) - [window_ setAspectRatio:NSMakeSize(aspect_ratio, 1.0)]; - else - [window_ setResizeIncrements:NSMakeSize(1.0, 1.0)]; + // Reset the behaviour to default if aspect_ratio is set to 0 or less. + if (aspect_ratio > 0.0) + [window_ setAspectRatio:NSMakeSize(aspect_ratio, 1.0)]; + else + [window_ setResizeIncrements:NSMakeSize(1.0, 1.0)]; } void NativeWindowMac::SetMovable(bool movable) {