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 35856a79bef1a7eddf524a1ff51f83368fbe40c7..1e990f1c3672d892ac6cdb6a0d4cf6809b2eba94 100644 |
--- a/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm |
+++ b/chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm |
@@ -196,6 +196,8 @@ using autofill::AutofillPopupLayoutModel; |
bounds:(NSRect)bounds |
textYOffset:(CGFloat)textYOffset { |
NSColor* nameColor = |
+ // TODO(lshang): Use AutofillPopupLayoutModel::GetValueFontColorForRow() |
Mathieu
2016/11/16 22:29:36
nit: the format for TODO is TODO(crbug.com/xxxxxx)
lshang
2016/11/17 07:03:46
Done.
|
+ // instead and remove IsWarning() method. |
controller_->IsWarning(index) ? [self warningColor] : [self nameColor]; |
NSDictionary* nameAttributes = [NSDictionary |
dictionaryWithObjectsAndKeys:controller_->layout_model() |