refactor: rename managed_web_contents to inspectable_web_contents (#26525)
This commit is contained in:
parent
29211a51df
commit
b8372fdc29
7 changed files with 87 additions and 83 deletions
|
@ -26,10 +26,11 @@ namespace api {
|
|||
WebContentsView::WebContentsView(v8::Isolate* isolate,
|
||||
gin::Handle<WebContents> web_contents)
|
||||
#if defined(OS_MAC)
|
||||
: View(new DelayedNativeViewHost(
|
||||
web_contents->managed_web_contents()->GetView()->GetNativeView())),
|
||||
: View(new DelayedNativeViewHost(web_contents->inspectable_web_contents()
|
||||
->GetView()
|
||||
->GetNativeView())),
|
||||
#else
|
||||
: View(web_contents->managed_web_contents()->GetView()->GetView()),
|
||||
: View(web_contents->inspectable_web_contents()->GetView()->GetView()),
|
||||
#endif
|
||||
web_contents_(isolate, web_contents.ToV8()),
|
||||
api_web_contents_(web_contents.get()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue