Index: views/controls/tabbed_pane/native_tabbed_pane_win.cc |
=================================================================== |
--- views/controls/tabbed_pane/native_tabbed_pane_win.cc (revision 86084) |
+++ views/controls/tabbed_pane/native_tabbed_pane_win.cc (working copy) |
@@ -79,7 +79,7 @@ |
for (int i = 0; i < host->child_count(); ++i) { |
View* child = host->GetChildViewAt(i); |
// We only layout visible children, since it may be expensive. |
- if (child->IsVisible() && child->bounds() != bounds) |
+ if (child->visible() && child->bounds() != bounds) |
child->SetBoundsRect(bounds); |
} |
} |