| Index: chrome/browser/views/frame/opaque_browser_frame_view.cc
|
| ===================================================================
|
| --- chrome/browser/views/frame/opaque_browser_frame_view.cc (revision 10857)
|
| +++ chrome/browser/views/frame/opaque_browser_frame_view.cc (working copy)
|
| @@ -575,8 +575,12 @@
|
| if (l.y() > browser_view_->tabstrip()->bounds().bottom())
|
| return false;
|
|
|
| + // We convert from our parent's coordinates since we assume we fill its bounds
|
| + // completely. We need to do this since we're not a parent of the tabstrip,
|
| + // meaning ConvertPointToView would otherwise return something bogus.
|
| gfx::Point tabstrip_point(l);
|
| - View::ConvertPointToView(this, browser_view_->tabstrip(), &tabstrip_point);
|
| + View::ConvertPointToView(GetParent(), browser_view_->tabstrip(),
|
| + &tabstrip_point);
|
| return browser_view_->tabstrip()->PointIsWithinWindowCaption(tabstrip_point);
|
| }
|
|
|
|
|