Index: ui/views/window/custom_frame_view.cc |
diff --git a/ui/views/window/custom_frame_view.cc b/ui/views/window/custom_frame_view.cc |
index 89979541a6cf2c92c69dace5102d26ad28eaa80d..ce8bdfbd5245ed311dc17cc06a724ff11fef2281 100644 |
--- a/ui/views/window/custom_frame_view.cc |
+++ b/ui/views/window/custom_frame_view.cc |
@@ -150,7 +150,7 @@ gfx::Rect CustomFrameView::GetWindowBoundsForClientBounds( |
client_bounds.height() + top_height + border_thickness); |
} |
-int CustomFrameView::NonClientHitTest(const gfx::Point& point) { |
+int CustomFrameView::NonClientHitTest(const gfx::Point& point) const { |
// Sanity check. |
if (!bounds().Contains(point)) |
return HTNOWHERE; |