Make BrowserView DragRegionViews children of the WebContents view

Previously they were children of the `InspectableWebContentsView` view,
which caused this assertion to fail:

f993888424/brightray/browser/mac/bry_inspectable_web_contents_view.mm (L162)
This commit is contained in:
Birunthan Mohanathas 2018-03-19 20:45:40 +02:00
parent 3b8ddd0997
commit 42934a1006
3 changed files with 10 additions and 3 deletions

View file

@ -22,4 +22,8 @@ NativeBrowserView::GetInspectableWebContentsView() {
return inspectable_web_contents_->GetView();
}
content::WebContents* NativeBrowserView::GetWebContents() {
return inspectable_web_contents_->GetWebContents();
}
} // namespace atom