| Index: ui/message_center/views/notification_view.cc
|
| diff --git a/ui/message_center/views/notification_view.cc b/ui/message_center/views/notification_view.cc
|
| index 671b42045bb9d8202761c8b9ca07a2bdf43bc32d..8f0c772f9766779726291d3471fac41566c03b37 100644
|
| --- a/ui/message_center/views/notification_view.cc
|
| +++ b/ui/message_center/views/notification_view.cc
|
| @@ -523,11 +523,11 @@ void NotificationView::ScrollRectToVisible(const gfx::Rect& rect) {
|
| views::View::ScrollRectToVisible(GetLocalBounds());
|
| }
|
|
|
| -views::View* NotificationView::GetEventHandlerForRect(const gfx::Rect& rect) {
|
| +views::View* NotificationView::GetEventHandlerForRect(const gfx::RectF& rect) {
|
| // TODO(tdanderson): Modify this function to support rect-based event
|
| // targeting. Using the center point of |rect| preserves this function's
|
| // expected behavior for the time being.
|
| - gfx::Point point = rect.CenterPoint();
|
| + gfx::Point point = gfx::ToFlooredPoint(rect.CenterPoint());
|
|
|
| // Want to return this for underlying views, otherwise GetCursor is not
|
| // called. But buttons are exceptions, they'll have their own event handlings.
|
|
|