| 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 431c05587848681aee70bdaac8cbe0a14d81dfd5..acd7907bbca55b186d0fc7346b88a5765485a1d2 100644
|
| --- a/chrome/browser/ui/cocoa/base_bubble_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/base_bubble_controller.mm
|
| @@ -253,13 +253,21 @@
|
| case info_bubble::kAlignEdgeToAnchorEdge:
|
| // If the arrow is to the right then move the origin so that the right
|
| // edge aligns with the anchor. If the arrow is to the left then there's
|
| - // nothing to do becaues the left edge is already aligned with the left
|
| + // nothing to do because the left edge is already aligned with the left
|
| // edge of the anchor.
|
| if ([bubble_ arrowLocation] == info_bubble::kTopRight) {
|
| origin.x -= NSWidth([window frame]);
|
| }
|
| break;
|
|
|
| + case info_bubble::kAlignRightEdgeToAnchorEdge:
|
| + origin.x -= NSWidth([window frame]);
|
| + break;
|
| +
|
| + case info_bubble::kAlignLeftEdgeToAnchorEdge:
|
| + // Nothing to do.
|
| + break;
|
| +
|
| default:
|
| NOTREACHED();
|
| }
|
|
|