| Index: chrome/browser/ui/views/tabs/tab.cc
|
| diff --git a/chrome/browser/ui/views/tabs/tab.cc b/chrome/browser/ui/views/tabs/tab.cc
|
| index 9a529f08c15c9217c784f4ecd3718d6352d9bd72..a02a49a9de07e7090765f5a7c7fb8f019ac6457e 100644
|
| --- a/chrome/browser/ui/views/tabs/tab.cc
|
| +++ b/chrome/browser/ui/views/tabs/tab.cc
|
| @@ -240,7 +240,7 @@ class Tab::TabCloseButton : public views::ImageButton {
|
| virtual ~TabCloseButton() {}
|
|
|
| // Overridden from views::View.
|
| - virtual View* GetEventHandlerForRect(const gfx::Rect& rect) OVERRIDE {
|
| + virtual View* GetEventHandlerForRect(const gfx::RectF& rect) OVERRIDE {
|
| if (!views::UsePointBasedTargeting(rect))
|
| return View::GetEventHandlerForRect(rect);
|
|
|
| @@ -259,7 +259,7 @@ class Tab::TabCloseButton : public views::ImageButton {
|
| // http://crbug.com/145258
|
| #endif
|
|
|
| - return contents_bounds.Intersects(rect) ? this : parent();
|
| + return gfx::RectF(contents_bounds).Intersects(rect) ? this : parent();
|
| }
|
|
|
| // Overridden from views::View.
|
|
|