Continue fixing compilation erros on Windows.
This commit is contained in:
parent
0215c2fbee
commit
56f709ff1f
3 changed files with 7 additions and 9 deletions
|
@ -439,10 +439,9 @@ void NativeWindowWin::Layout() {
|
|||
OnViewWasResized();
|
||||
}
|
||||
|
||||
void NativeWindowWin::ViewHierarchyChanged(bool is_add,
|
||||
views::View* parent,
|
||||
views::View* child) {
|
||||
if (is_add && child == this)
|
||||
void NativeWindowWin::ViewHierarchyChanged(
|
||||
const ViewHierarchyChangedDetails& details) {
|
||||
if (details.is_add && details.child == this)
|
||||
AddChildView(web_view_);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue