mac: AcceleratedWidget should be window's content view
This commit is contained in:
parent
e7f175d578
commit
8a1884c407
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue