Fix indention

This commit is contained in:
Cheng Zhao 2016-07-11 16:43:01 +09:00
parent 70a29bd46a
commit 381366daf1

View file

@ -800,13 +800,13 @@ bool NativeWindowMac::IsResizable() {
void NativeWindowMac::SetAspectRatio(double aspect_ratio, void NativeWindowMac::SetAspectRatio(double aspect_ratio,
const gfx::Size& extra_size) { 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. // Reset the behaviour to default if aspect_ratio is set to 0 or less.
if (aspect_ratio > 0.0) if (aspect_ratio > 0.0)
[window_ setAspectRatio:NSMakeSize(aspect_ratio, 1.0)]; [window_ setAspectRatio:NSMakeSize(aspect_ratio, 1.0)];
else else
[window_ setResizeIncrements:NSMakeSize(1.0, 1.0)]; [window_ setResizeIncrements:NSMakeSize(1.0, 1.0)];
} }
void NativeWindowMac::SetMovable(bool movable) { void NativeWindowMac::SetMovable(bool movable) {