Index: chrome/browser/ui/views/app_list/app_list_controller_win.cc |
diff --git a/chrome/browser/ui/views/app_list/app_list_controller_win.cc b/chrome/browser/ui/views/app_list/app_list_controller_win.cc |
index b1e5e64f791618a0ffee55513c6aa5d16404f0b7..cee089d7c21054cbf586e27ddf034fd53f1cccb0 100644 |
--- a/chrome/browser/ui/views/app_list/app_list_controller_win.cc |
+++ b/chrome/browser/ui/views/app_list/app_list_controller_win.cc |
@@ -705,8 +705,8 @@ gfx::Point AppListController::FindAnchorPoint( |
view_size.height() / 2 + kSnapOffset); |
gfx::Point anchor = FindReferencePoint(display, cursor); |
- anchor.ClampToMin(bounds_rect.origin()); |
- anchor.ClampToMax(bounds_rect.bottom_right()); |
+ anchor.SetToMax(bounds_rect.origin()); |
+ anchor.SetToMin(bounds_rect.bottom_right()); |
return anchor; |
} |