fix: use InspectableWebContentsView as content view
This commit is contained in:
parent
5b81fde8a7
commit
4a7c85f43e
3 changed files with 6 additions and 4 deletions
|
@ -87,7 +87,7 @@ BrowserWindow::BrowserWindow(v8::Isolate* isolate,
|
|||
|
||||
#if defined(OS_MACOSX)
|
||||
if (!window()->has_frame())
|
||||
OverrideNSWindowContentView();
|
||||
OverrideNSWindowContentView(web_contents->managed_web_contents());
|
||||
#endif
|
||||
|
||||
// Init window after everything has been setup.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue