Fix some coding style issues

This commit is contained in:
Cheng Zhao 2016-04-20 09:18:50 +09:00
parent eb9e0e5534
commit 18f5fcde60
4 changed files with 5 additions and 4 deletions

View file

@ -243,13 +243,13 @@ bool ScopedDisableResize::disable_resize_ = false;
return NO;
}
- (NSRect)window:(NSWindow *)window willPositionSheet:(NSWindow *)sheet usingRect:(NSRect)rect {
NSView * view = window.contentView;
- (NSRect)window:(NSWindow*)window
willPositionSheet:(NSWindow*)sheet usingRect:(NSRect)rect {
NSView* view = window.contentView;
rect.origin.y = view.frame.size.height - shell_->GetSheetOffset();
return rect;
}
@end
@interface AtomNSWindow : NSWindow {