summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/base_bubble_controller.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/base_bubble_controller.mm')
-rw-r--r--chrome/browser/cocoa/base_bubble_controller.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/base_bubble_controller.mm b/chrome/browser/cocoa/base_bubble_controller.mm
index 5e28126..e9804c5 100644
--- a/chrome/browser/cocoa/base_bubble_controller.mm
+++ b/chrome/browser/cocoa/base_bubble_controller.mm
@@ -190,7 +190,7 @@ class Bridge : public NotificationObserver {
info_bubble::kBubbleArrowWidth / 2.0, 0);
offsets = [[parentWindow_ contentView] convertSize:offsets toView:nil];
if ([bubble_ arrowLocation] == info_bubble::kTopRight) {
- origin.x -= NSWidth([window frame]) + offsets.width;
+ origin.x -= NSWidth([window frame]) - offsets.width;
} else {
origin.x -= offsets.width;
}