| Index: chrome/browser/ui/cocoa/base_bubble_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/base_bubble_controller.mm b/chrome/browser/ui/cocoa/base_bubble_controller.mm
|
| index a2529978691441dc188fe68c2117233298ebf866..3d84e032e2da291255debc82894c7ea27f2cc2f0 100644
|
| --- a/chrome/browser/ui/cocoa/base_bubble_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/base_bubble_controller.mm
|
| @@ -16,6 +16,7 @@
|
| #import "chrome/browser/ui/cocoa/info_bubble_window.h"
|
| #import "chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h"
|
| #include "components/bubble/bubble_controller.h"
|
| +#include "ui/base/cocoa/cocoa_base_utils.h"
|
|
|
| @interface BaseBubbleController (Private)
|
| - (void)registerForNotifications;
|
| @@ -68,7 +69,7 @@
|
| NSRect bounds = [view convertRect:[view bounds] toView:nil];
|
| NSPoint anchor = NSMakePoint(NSMinX(bounds) + offset.x,
|
| NSMinY(bounds) + offset.y);
|
| - anchor = [window convertBaseToScreen:anchor];
|
| + anchor = ui::ConvertPointFromWindowToScreen(window, anchor);
|
| return [self initWithWindowNibPath:nibPath
|
| parentWindow:window
|
| anchoredAt:anchor];
|
|
|