| Index: chrome/browser/ui/views/frame/glass_browser_frame_view.cc
|
| diff --git a/chrome/browser/ui/views/frame/glass_browser_frame_view.cc b/chrome/browser/ui/views/frame/glass_browser_frame_view.cc
|
| index 0bed418bc3714dd40579b1295342e52b7a3bd92d..a688915524148dd53f109df7ffee4303a898e9f6 100644
|
| --- a/chrome/browser/ui/views/frame/glass_browser_frame_view.cc
|
| +++ b/chrome/browser/ui/views/frame/glass_browser_frame_view.cc
|
| @@ -242,10 +242,10 @@ void GlassBrowserFrameView::Layout() {
|
| LayoutClientView();
|
| }
|
|
|
| -bool GlassBrowserFrameView::HitTest(const gfx::Point& l) const {
|
| +bool GlassBrowserFrameView::HitTestRect(const gfx::Rect& rect) const {
|
| return (avatar_button() &&
|
| - avatar_button()->GetMirroredBounds().Contains(l)) ||
|
| - !frame()->client_view()->bounds().Contains(l);
|
| + avatar_button()->GetMirroredBounds().Intersects(rect)) ||
|
| + !frame()->client_view()->bounds().Intersects(rect);
|
| }
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|