Chromium Code Reviews| 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 c8ca24ceb8e9ee0ab1f03a2514bad677968b67f4..0b795c491aac8afa34b4047af010904fc8ce6f8f 100644 |
| --- a/chrome/browser/ui/cocoa/base_bubble_controller.mm |
| +++ b/chrome/browser/ui/cocoa/base_bubble_controller.mm |
| @@ -341,10 +341,8 @@ |
| origin.x -= offsets.width; |
| break; |
| case info_bubble::kTopCenter: |
| - origin.x -= NSWidth([window frame]) / 2.0; |
| - break; |
| case info_bubble::kNoArrow: |
|
groby-ooo-7-16
2015/03/10 23:34:13
If we _must_ fall through, mark this as // FALLTHR
hcarmona
2015/03/11 22:38:03
Updated with // FALLTHROUGH.
Looked into the zoom
|
| - NOTREACHED(); |
| + origin.x -= NSWidth([window frame]) / 2.0; |
| break; |
| } |
| break; |