Index: chrome/browser/ui/views/toolbar_view.cc |
diff --git a/chrome/browser/ui/views/toolbar_view.cc b/chrome/browser/ui/views/toolbar_view.cc |
index 4f6a1ecd8c2356678497b24bfab4b90b5b1f43cb..f27f0efbceb12d16a178ab883f8d07864182b6cf 100644 |
--- a/chrome/browser/ui/views/toolbar_view.cc |
+++ b/chrome/browser/ui/views/toolbar_view.cc |
@@ -762,13 +762,13 @@ void ToolbarView::Layout() { |
app_menu_width, child_height); |
} |
-bool ToolbarView::HitTest(const gfx::Point& point) const { |
+bool ToolbarView::HitTestRect(const gfx::Rect& rect) const { |
// Don't take hits in our top shadow edge. Let them fall through to the |
// tab strip above us. |
- if (point.y() < kContentShadowHeight) |
+ if (rect.y() < kContentShadowHeight) |
return false; |
// Otherwise let our superclass take care of it. |
- return AccessiblePaneView::HitTest(point); |
+ return AccessiblePaneView::HitTestRect(rect); |
} |
void ToolbarView::OnPaint(gfx::Canvas* canvas) { |