| Index: chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm
|
| diff --git a/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm b/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm
|
| index a4fb09058b8dbbae42a9f9435742c0223f2be91f..c21981d1a83148c414ad13483af997296d8d6fac 100644
|
| --- a/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm
|
| +++ b/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm
|
| @@ -59,6 +59,7 @@ using autofill::AutofillPopupLayoutModel;
|
| bounds:(NSRect)bounds;
|
| - (CGFloat)drawSubtext:(NSString*)subtext
|
| atX:(CGFloat)x
|
| + index:(size_t)index
|
| rightAlign:(BOOL)rightAlign
|
| bounds:(NSRect)bounds
|
| textYOffset:(CGFloat)textYOffset;
|
| @@ -184,6 +185,7 @@ using autofill::AutofillPopupLayoutModel;
|
| x = [self drawIconAtIndex:index atX:x rightAlign:!isRTL bounds:bounds];
|
| [self drawSubtext:subtext
|
| atX:x
|
| + index:index
|
| rightAlign:!isRTL
|
| bounds:bounds
|
| textYOffset:textYOffset];
|
| @@ -242,12 +244,13 @@ using autofill::AutofillPopupLayoutModel;
|
|
|
| - (CGFloat)drawSubtext:(NSString*)subtext
|
| atX:(CGFloat)x
|
| + index:(size_t)index
|
| rightAlign:(BOOL)rightAlign
|
| bounds:(NSRect)bounds
|
| textYOffset:(CGFloat)textYOffset {
|
| NSDictionary* subtextAttributes = [NSDictionary
|
| dictionaryWithObjectsAndKeys:controller_->layout_model()
|
| - .GetLabelFontList()
|
| + .GetLabelFontListForRow(index)
|
| .GetPrimaryFont()
|
| .GetNativeFont(),
|
| NSFontAttributeName, [self subtextColor],
|
|
|