| Index: chrome/browser/ui/views/constrained_window_views.cc
|
| diff --git a/chrome/browser/ui/views/constrained_window_views.cc b/chrome/browser/ui/views/constrained_window_views.cc
|
| index bc7bb6858958ff9257ac77777ff9ab6b5f892cd2..6b30e1e9d163c91f36c28bc37882c02b5b41f8cd 100644
|
| --- a/chrome/browser/ui/views/constrained_window_views.cc
|
| +++ b/chrome/browser/ui/views/constrained_window_views.cc
|
| @@ -255,7 +255,7 @@ class ConstrainedWindowFrameView : public views::NonClientFrameView,
|
| virtual gfx::Rect GetBoundsForClientView() const OVERRIDE;
|
| virtual gfx::Rect GetWindowBoundsForClientBounds(
|
| const gfx::Rect& client_bounds) const OVERRIDE;
|
| - virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE;
|
| + virtual int NonClientHitTest(const gfx::Point& point) const OVERRIDE;
|
| virtual void GetWindowMask(const gfx::Size& size,
|
| gfx::Path* window_mask) OVERRIDE;
|
| virtual void ResetWindowControls() OVERRIDE {}
|
| @@ -411,7 +411,8 @@ gfx::Rect ConstrainedWindowFrameView::GetWindowBoundsForClientBounds(
|
| client_bounds.height() + top_height + border_thickness);
|
| }
|
|
|
| -int ConstrainedWindowFrameView::NonClientHitTest(const gfx::Point& point) {
|
| +int ConstrainedWindowFrameView::NonClientHitTest(
|
| + const gfx::Point& point) const {
|
| if (!bounds().Contains(point))
|
| return HTNOWHERE;
|
|
|
|
|