| Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm
|
| index f78e17a2cb969218be13c7a743c2c670e756e942..53df21e427fa8f3e548b2f064dc2eb279d24b229 100644
|
| --- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm
|
| @@ -24,6 +24,7 @@
|
| #include "content/public/browser/notification_registrar.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/user_metrics.h"
|
| +#include "ui/base/cocoa/cocoa_base_utils.h"
|
| #include "ui/base/l10n/l10n_util_mac.h"
|
|
|
| using base::UserMetricsAction;
|
| @@ -144,7 +145,7 @@ using bookmarks::BookmarkNode;
|
| // which will occur for some unit tests.
|
| NSPoint arrowTip = bwc ? [bwc bookmarkBubblePoint] :
|
| NSMakePoint([window frame].size.width, [window frame].size.height);
|
| - arrowTip = [parentWindow convertBaseToScreen:arrowTip];
|
| + arrowTip = ui::ConvertPointFromWindowToScreen(parentWindow, arrowTip);
|
| NSPoint bubbleArrowTip = [bubble arrowTip];
|
| bubbleArrowTip = [bubble convertPoint:bubbleArrowTip toView:nil];
|
| arrowTip.y -= bubbleArrowTip.y;
|
|
|