| Index: views/controls/single_split_view.cc
|
| ===================================================================
|
| --- views/controls/single_split_view.cc (revision 86083)
|
| +++ views/controls/single_split_view.cc (working copy)
|
| @@ -45,10 +45,10 @@
|
| CalculateChildrenBounds(bounds(), &leading_bounds, &trailing_bounds);
|
|
|
| if (has_children()) {
|
| - if (GetChildViewAt(0)->IsVisible())
|
| + if (GetChildViewAt(0)->visible())
|
| GetChildViewAt(0)->SetBoundsRect(leading_bounds);
|
| if (child_count() > 1) {
|
| - if (GetChildViewAt(1)->IsVisible())
|
| + if (GetChildViewAt(1)->visible())
|
| GetChildViewAt(1)->SetBoundsRect(trailing_bounds);
|
| }
|
| }
|
| @@ -102,9 +102,9 @@
|
| const gfx::Rect& bounds,
|
| gfx::Rect* leading_bounds,
|
| gfx::Rect* trailing_bounds) const {
|
| - bool is_leading_visible = has_children() && GetChildViewAt(0)->IsVisible();
|
| + bool is_leading_visible = has_children() && GetChildViewAt(0)->visible();
|
| bool is_trailing_visible =
|
| - child_count() > 1 && GetChildViewAt(1)->IsVisible();
|
| + child_count() > 1 && GetChildViewAt(1)->visible();
|
|
|
| if (!is_leading_visible && !is_trailing_visible) {
|
| *leading_bounds = gfx::Rect();
|
| @@ -198,7 +198,7 @@
|
| if (child_count() < 2)
|
| return false;
|
|
|
| - if (!GetChildViewAt(0)->IsVisible() || !GetChildViewAt(1)->IsVisible())
|
| + if (!GetChildViewAt(0)->visible() || !GetChildViewAt(1)->visible())
|
| return false;
|
|
|
| int divider_relative_offset;
|
|
|