| Index: chrome/browser/ui/app_list/app_list_service_mac.mm
|
| diff --git a/chrome/browser/ui/app_list/app_list_service_mac.mm b/chrome/browser/ui/app_list/app_list_service_mac.mm
|
| index 15a2cf27821771a45663160fe6bd2c586456ccb7..677ed2b999380c4ce46a541ccb1f51a71955a329 100644
|
| --- a/chrome/browser/ui/app_list/app_list_service_mac.mm
|
| +++ b/chrome/browser/ui/app_list/app_list_service_mac.mm
|
| @@ -329,8 +329,8 @@ NSPoint GetAppListWindowOrigin(NSWindow* window) {
|
| const NSSize window_size = [window frame].size;
|
| gfx::Rect anchor_area = display.work_area();
|
| anchor_area.Inset(window_size.width / 2, window_size.height / 2);
|
| - anchor.ClampToMin(anchor_area.origin());
|
| - anchor.ClampToMax(anchor_area.bottom_right());
|
| + anchor.SetToMax(anchor_area.origin());
|
| + anchor.SetToMin(anchor_area.bottom_right());
|
|
|
| // Move anchor to the dock, keeping the other axis aligned with the cursor.
|
| switch (dock_location) {
|
|
|