| Index: chrome/browser/ui/views/autofill/autofill_dialog_views.cc
|
| diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
|
| index be6df32a40ae60223739417c214cb144c118dd7e..1456f4da03a56589b124fde78b3c5972ab4bb062 100644
|
| --- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
|
| +++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
|
| @@ -1018,13 +1018,16 @@ void AutofillDialogViews::SectionContainer::OnMouseReleased(
|
| proxy_button_->OnMouseReleased(ProxyEvent(event));
|
| }
|
|
|
| -views::View* AutofillDialogViews::SectionContainer::GetEventHandlerForPoint(
|
| - const gfx::Point& point) {
|
| - views::View* handler = views::View::GetEventHandlerForPoint(point);
|
| +views::View* AutofillDialogViews::SectionContainer::GetEventHandlerForRect(
|
| + const gfx::Rect& rect) {
|
| + // TODO(tdanderson): Modify this function to support rect-based event
|
| + // targeting.
|
| +
|
| + views::View* handler = views::View::GetEventHandlerForRect(rect);
|
| // If the event is not in the label bar and there's no background to be
|
| // cleared, let normal event handling take place.
|
| if (!background() &&
|
| - point.y() > child_at(0)->bounds().bottom()) {
|
| + rect.CenterPoint().y() > child_at(0)->bounds().bottom()) {
|
| return handler;
|
| }
|
|
|
|
|