Make hasShadow work on Windows/Linux

This commit is contained in:
Cheng Zhao 2016-01-23 02:55:12 -08:00
parent d704b3f7ba
commit 239bfe970c
5 changed files with 21 additions and 20 deletions

View file

@ -449,12 +449,6 @@ NativeWindowMac::NativeWindowMac(
if (!has_frame())
[window_ setOpaque:NO];
bool has_shadow = true;
options.Get(options::kHasShadow, &has_shadow);
if (!has_shadow) {
SetHasShadow(false);
}
// We will manage window's lifetime ourselves.
[window_ setReleasedWhenClosed:NO];