| Index: ui/views/view.cc
|
| diff --git a/ui/views/view.cc b/ui/views/view.cc
|
| index 3d902a6487fb939c2f0bd437a5215d4701034f6e..6cb29e9f85c25b1bed8b71ec853af80f423643cf 100644
|
| --- a/ui/views/view.cc
|
| +++ b/ui/views/view.cc
|
| @@ -912,7 +912,7 @@ bool View::CanProcessEventsWithinSubtree() const {
|
| }
|
|
|
| View* View::GetTooltipHandlerForPoint(const gfx::Point& point) {
|
| - if (!HitTestPoint(point))
|
| + if (!HitTestPoint(point) || !CanProcessEventsWithinSubtree())
|
| return NULL;
|
|
|
| // Walk the child Views recursively looking for the View that most
|
| @@ -922,9 +922,6 @@ View* View::GetTooltipHandlerForPoint(const gfx::Point& point) {
|
| if (!child->visible())
|
| continue;
|
|
|
| - if (!child->CanProcessEventsWithinSubtree())
|
| - continue;
|
| -
|
| gfx::Point point_in_child_coords(point);
|
| ConvertPointToTarget(this, child, &point_in_child_coords);
|
| View* handler = child->GetTooltipHandlerForPoint(point_in_child_coords);
|
|
|