refactor: move set_owned_by_client calls to base View (#22739)
* refactor: move set_owned_by_client() to WebContentsView * refactor: do set_owned_by_client() in View
This commit is contained in:
parent
aa15a2cc03
commit
42f138282f
6 changed files with 9 additions and 18 deletions
|
@ -87,8 +87,6 @@ InspectableWebContentsViewViews::InspectableWebContentsViewViews(
|
|||
devtools_visible_(false),
|
||||
devtools_window_delegate_(nullptr),
|
||||
title_(base::ASCIIToUTF16("Developer Tools")) {
|
||||
set_owned_by_client();
|
||||
|
||||
if (!inspectable_web_contents_->IsGuest() &&
|
||||
inspectable_web_contents_->GetWebContents()->GetNativeView()) {
|
||||
views::WebView* contents_web_view = new views::WebView(nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue