| Index: ui/views/view.cc
|
| diff --git a/ui/views/view.cc b/ui/views/view.cc
|
| index 7fc0fe6f181e0ff51770da68ecce8eb757bfd1ee..d2830f7f239f3016c8dfbec08bf8ba0b1ec76d61 100644
|
| --- a/ui/views/view.cc
|
| +++ b/ui/views/view.cc
|
| @@ -336,7 +336,7 @@ gfx::Rect View::GetVisibleBounds() const {
|
| const View* ancestor = view->parent_;
|
| if (ancestor != NULL) {
|
| ancestor_bounds.SetRect(0, 0, ancestor->width(), ancestor->height());
|
| - vis_bounds = vis_bounds.Intersect(ancestor_bounds);
|
| + vis_bounds.Intersect(ancestor_bounds);
|
| } else if (!view->GetWidget()) {
|
| // If the view has no Widget, we're not visible. Return an empty rect.
|
| return gfx::Rect();
|
|
|