fix: use InspectableWebContentsView as content view

This commit is contained in:
Cheng Zhao 2018-07-16 10:20:35 +09:00
parent 5b81fde8a7
commit 4a7c85f43e
3 changed files with 6 additions and 4 deletions

View file

@ -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.