Index: chrome/browser/ui/cocoa/autofill/autofill_details_container.mm |
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm b/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm |
index 1609fd21d39bbf32c692a861bdb72d9d6c15762a..571abdd277f11d1c396a2a9a5dab50f1a738622b 100644 |
--- a/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm |
+++ b/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm |
@@ -206,13 +206,15 @@ typedef BOOL (^FieldFilterBlock)(NSView<AutofillInputField>*); |
if ((NSMinX(viewRect) + [errorBubbleController_ maxWidth]) > |
NSWidth([parentWindow frame])) { |
anchorPoint = NSMakePoint(NSMaxX(viewRect), NSMinY(viewRect)); |
- [[errorBubbleController_ bubble] setArrowLocation:info_bubble::kTopRight]; |
+ [[errorBubbleController_ bubble] |
+ setArrowLocation:views::BubbleBorder::TOP_RIGHT]; |
[[errorBubbleController_ bubble] setAlignment: |
info_bubble::kAlignRightEdgeToAnchorEdge]; |
} else { |
anchorPoint = NSMakePoint(NSMinX(viewRect), NSMinY(viewRect)); |
- [[errorBubbleController_ bubble] setArrowLocation:info_bubble::kTopLeft]; |
+ [[errorBubbleController_ bubble] |
+ setArrowLocation:views::BubbleBorder::TOP_LEFT]; |
[[errorBubbleController_ bubble] setAlignment: |
info_bubble::kAlignLeftEdgeToAnchorEdge]; |
} |