Save browser_view_ in the NativeWindow
No need to store it separately in subclasses.
This commit is contained in:
parent
503b0ba1b1
commit
3b3e69f8b2
8 changed files with 34 additions and 33 deletions
|
@ -215,8 +215,6 @@ class NativeWindowViews : public NativeWindow,
|
|||
std::unique_ptr<views::Widget> window_;
|
||||
views::View* web_view_; // Managed by inspectable_web_contents_.
|
||||
|
||||
NativeBrowserView* browser_view_;
|
||||
|
||||
std::unique_ptr<AutofillPopup> autofill_popup_;
|
||||
|
||||
std::unique_ptr<MenuBar> menu_bar_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue