Use the textured window for the frameless case too.

This commit is contained in:
joshaber 2015-05-12 21:11:43 -04:00
parent 033f9bcced
commit 76d33c37d7

View file

@ -315,7 +315,7 @@ NativeWindowMac::NativeWindowMac(content::WebContents* web_contents,
NSUInteger styleMask = NSTitledWindowMask | NSClosableWindowMask |
NSMiniaturizableWindowMask | NSResizableWindowMask;
if (!useStandardWindow || transparent_) {
if (!useStandardWindow || transparent_ || !has_frame_) {
styleMask |= NSTexturedBackgroundWindowMask;
}