diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index 86c506d423f8..ba28d4f501bd 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -1079,7 +1079,7 @@ gfx::NativeWindow NativeWindowMac::GetNativeWindow() const { } gfx::AcceleratedWidget NativeWindowMac::GetAcceleratedWidget() const { - return [window_ contentView]; + return gfx::kNullAcceleratedWidget; } void NativeWindowMac::SetProgressBar(double progress,