Browse Source

Define gfx::AcceleratedWidget to be uint64_t instead of NSView*

https://chromium-review.googlesource.com/c/chromium/src/+/792295
deepak1556 7 years ago
parent
commit
4068a62fa6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      atom/browser/native_window_mac.mm

+ 1 - 1
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,