Store InspectableWebContents instead of InspectableWebContentsView in NativeBrowserView
This commit is contained in:
parent
6b80865bfe
commit
61160ff9e5
7 changed files with 30 additions and 20 deletions
|
@ -68,8 +68,8 @@ void BrowserView::Init(v8::Isolate* isolate,
|
|||
web_contents_.Reset(isolate, web_contents.ToV8());
|
||||
api_web_contents_ = web_contents.get();
|
||||
|
||||
view_.reset(NativeBrowserView::Create(
|
||||
api_web_contents_->managed_web_contents()->GetView()));
|
||||
view_.reset(
|
||||
NativeBrowserView::Create(api_web_contents_->managed_web_contents()));
|
||||
|
||||
InitWith(isolate, wrapper);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue