Style fix
This commit is contained in:
parent
826a4e0e48
commit
80c8ab4c39
1 changed files with 3 additions and 4 deletions
|
@ -348,11 +348,10 @@ NativeWindowMac::NativeWindowMac(content::WebContents* web_contents,
|
|||
[window_ setHasShadow:NO];
|
||||
[window_ setBackgroundColor:[NSColor clearColor]];
|
||||
}
|
||||
|
||||
// Fix some non-transparent corners and lacking redraw while resizing non-frame window
|
||||
if (!has_frame_) {
|
||||
|
||||
// Remove non-transparent corners, see http://git.io/vfonD.
|
||||
if (!has_frame_)
|
||||
[window_ setOpaque:NO];
|
||||
}
|
||||
|
||||
// We will manage window's lifetime ourselves.
|
||||
[window_ setReleasedWhenClosed:NO];
|
||||
|
|
Loading…
Reference in a new issue