| Index: chrome/browser/ui/cocoa/autofill/save_card_bubble_view_bridge.mm
|
| diff --git a/chrome/browser/ui/cocoa/autofill/save_card_bubble_view_bridge.mm b/chrome/browser/ui/cocoa/autofill/save_card_bubble_view_bridge.mm
|
| index 969b3db34e8f37ee389a85cdd81ee1b4abf12e1c..46bf2f6e16689a6e98c71067c7ab12723a7588ee 100644
|
| --- a/chrome/browser/ui/cocoa/autofill/save_card_bubble_view_bridge.mm
|
| +++ b/chrome/browser/ui/cocoa/autofill/save_card_bubble_view_bridge.mm
|
| @@ -14,6 +14,7 @@
|
| #import "chrome/browser/ui/cocoa/toolbar/toolbar_controller.h"
|
| #include "grit/components_strings.h"
|
| #include "skia/ext/skia_utils_mac.h"
|
| +#include "ui/base/cocoa/cocoa_base_utils.h"
|
| #import "ui/base/cocoa/controls/hyperlink_text_view.h"
|
| #import "ui/base/cocoa/window_size_constants.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| @@ -198,8 +199,8 @@ void SaveCardBubbleViewBridge::Hide() {
|
|
|
| NSPoint anchorPoint =
|
| [[browserWindowController toolbarController] saveCreditCardBubblePoint];
|
| - anchorPoint =
|
| - [[browserWindowController window] convertBaseToScreen:anchorPoint];
|
| + anchorPoint = ui::ConvertPointFromWindowToScreen(
|
| + [browserWindowController window], anchorPoint);
|
|
|
| if ((self = [super initWithWindow:window
|
| parentWindow:[browserWindowController window]
|
|
|