mirror of
https://github.com/electron/electron.git
synced 2026-01-28 00:38:35 -05:00
mac: AcceleratedWidget should be window's content view
This commit is contained in:
@@ -1554,7 +1554,7 @@ gfx::NativeWindow NativeWindowMac::GetNativeWindow() const {
|
||||
}
|
||||
|
||||
gfx::AcceleratedWidget NativeWindowMac::GetAcceleratedWidget() const {
|
||||
return inspectable_web_contents()->GetView()->GetNativeView();
|
||||
return [window_ contentView];
|
||||
}
|
||||
|
||||
void NativeWindowMac::SetProgressBar(double progress, const NativeWindow::ProgressState state) {
|
||||
|
||||
Reference in New Issue
Block a user