Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2268)

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_main_container.mm

Issue 1162393003: Replace info_bubble::BubbleArrowLocation with views::BubbleBorder::Arrow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile in test Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/autofill/autofill_main_container.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_main_container.mm b/chrome/browser/ui/cocoa/autofill/autofill_main_container.mm
index fc28d4311ee12f415e4ba73f2cf75a0ed6240341..a7de5817b70afd077884e5adf521893301560337 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_main_container.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_main_container.mm
@@ -80,9 +80,8 @@ const SkColor kLegalDocumentsTextColor = SkColorSetRGB(102, 102, 102);
[saveInChromeCheckbox_ sizeToFit];
[[self view] addSubview:saveInChromeCheckbox_];
- saveInChromeTooltip_.reset(
- [[AutofillTooltipController alloc]
- initWithArrowLocation:info_bubble::kTopCenter]);
+ saveInChromeTooltip_.reset([[AutofillTooltipController alloc]
+ initWithArrowLocation:views::BubbleBorder::TOP_CENTER]);
[saveInChromeTooltip_ setImage:
ui::ResourceBundle::GetSharedInstance().GetNativeImageNamed(
IDR_AUTOFILL_TOOLTIP_ICON).ToNSImage()];

Powered by Google App Engine
This is Rietveld 408576698