refactor: rename managed_web_contents to inspectable_web_contents (#26525)

This commit is contained in:
Jeremy Rose 2020-11-17 14:15:20 -08:00 committed by GitHub
parent 29211a51df
commit b8372fdc29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 87 additions and 83 deletions

View file

@ -95,7 +95,8 @@ BrowserWindow::BrowserWindow(gin::Arguments* args,
SetContentView(gin::CreateHandle<View>(isolate, web_contents_view.get()));
#if defined(OS_MAC)
OverrideNSWindowContentView(web_contents->managed_web_contents());
OverrideNSWindowContentView(
web_contents->inspectable_web_contents()->GetView());
#endif
// Init window after everything has been setup.