Continue fixing compilation erros on Windows.

This commit is contained in:
Cheng Zhao 2013-12-17 18:34:45 +08:00
parent 0215c2fbee
commit 56f709ff1f
3 changed files with 7 additions and 9 deletions

View file

@ -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_);
}