| Index: chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.mm b/chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.mm
|
| index b2a66dc7c08efb0167739d9677dc27b49a38f850..d16b63515b6ccb16adad9515f701f32a2a51bb0e 100644
|
| --- a/chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.mm
|
| @@ -7,6 +7,7 @@
|
| #include "base/mac/foundation_util.h"
|
| #import "chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.h"
|
| #import "ui/base/cocoa/base_view.h"
|
| +#include "ui/base/cocoa/cocoa_base_utils.h"
|
| #import "ui/base/cocoa/hover_image_button.h"
|
|
|
| // Delay time before tooltip shows/hides.
|
| @@ -164,8 +165,8 @@ CGFloat kTooltipInset = 10;
|
| // Compute anchor point (in window coords - views might be flipped).
|
| NSRect viewRect = [view_ convertRect:[view_ bounds] toView:nil];
|
| NSPoint anchorPoint = NSMakePoint(NSMidX(viewRect), NSMinY(viewRect));
|
| - [bubbleController_ setAnchorPoint:
|
| - [[[self view] window] convertBaseToScreen:anchorPoint]];
|
| + [bubbleController_ setAnchorPoint:ui::ConvertPointFromWindowToScreen(
|
| + [[self view] window], anchorPoint)];
|
| [bubbleController_ showWindow:self];
|
| }
|
|
|
|
|