| Index: chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
|
| index b192160e4b1ae1001d837bac3a709310acbf1c37..a714d484e7c5c168878c73675b1dc6b30bd31fb8 100644
|
| --- a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
|
| @@ -23,6 +23,7 @@
|
| #include "content/public/browser/notification_details.h"
|
| #include "content/public/browser/notification_source.h"
|
| #include "extensions/browser/notification_types.h"
|
| +#include "ui/base/cocoa/cocoa_base_utils.h"
|
| #include "ui/base/cocoa/window_size_constants.h"
|
|
|
| using content::BrowserContext;
|
| @@ -176,7 +177,7 @@ class ExtensionPopupNotificationBridge : public content::NotificationObserver {
|
| if (!window.get())
|
| return nil;
|
|
|
| - anchoredAt = [parentWindow convertBaseToScreen:anchoredAt];
|
| + anchoredAt = ui::ConvertPointFromWindowToScreen(parentWindow, anchoredAt);
|
| if ((self = [super initWithWindow:window
|
| parentWindow:parentWindow
|
| anchoredAt:anchoredAt])) {
|
|
|