| Index: chrome/browser/ui/views/frame/browser_view.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
|
| index cf1e386dbd1d838632346ee3b0924e6a86892c49..e207df088092a7511c440bc3db8bccd714f935bf 100644
|
| --- a/chrome/browser/ui/views/frame/browser_view.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_view.cc
|
| @@ -612,13 +612,6 @@ gfx::ImageSkia BrowserView::GetOTRAvatarIcon() const {
|
| }
|
|
|
| bool BrowserView::IsPositionInWindowCaption(const gfx::Point& point) {
|
| - if (window_switcher_button_) {
|
| - gfx::Point window_switcher_point(point);
|
| - views::View::ConvertPointToTarget(this, window_switcher_button_,
|
| - &window_switcher_point);
|
| - if (window_switcher_button_->HitTestPoint(window_switcher_point))
|
| - return false;
|
| - }
|
| return GetBrowserViewLayout()->IsPositionInWindowCaption(point);
|
| }
|
|
|
|
|