mac: Window's native view should be its content view
This commit is contained in:
parent
1681ee35db
commit
4c7b48e596
1 changed files with 1 additions and 1 deletions
|
@ -1546,7 +1546,7 @@ void NativeWindowMac::SetParentWindow(NativeWindow* parent) {
|
||||||
}
|
}
|
||||||
|
|
||||||
gfx::NativeView NativeWindowMac::GetNativeView() const {
|
gfx::NativeView NativeWindowMac::GetNativeView() const {
|
||||||
return inspectable_web_contents()->GetView()->GetNativeView();
|
return [window_ contentView];
|
||||||
}
|
}
|
||||||
|
|
||||||
gfx::NativeWindow NativeWindowMac::GetNativeWindow() const {
|
gfx::NativeWindow NativeWindowMac::GetNativeWindow() const {
|
||||||
|
|
Loading…
Reference in a new issue