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 8ccb9e0079828388c2ab12770793a0d327f73534..5c97b085a31606073b1902cad3ad314c79706ad6 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 |
@@ -709,8 +709,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.ClampToLowerBound(bounds_rect.origin()); |
+ anchor.ClampToUpperBound(bounds_rect.bottom_right()); |
return anchor; |
} |