Chromium Code Reviews| 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..8151c3c67dfd2b76cecf80e7641600cdb2f3b039 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,9 @@ using autofill::AutofillPopupLayoutModel; |
| bounds:(NSRect)bounds |
| textYOffset:(CGFloat)textYOffset { |
| NSColor* nameColor = |
| + // TODO(crbug.com/666189): Use |
|
msw
2016/11/17 18:49:39
Put this comment above the entire statement.
lshang
2016/11/18 00:03:19
Done.
|
| + // AutofillPopupLayoutModel::GetValueFontColorForRow() instead and remove |
| + // IsWarning() method. |
| controller_->IsWarning(index) ? [self warningColor] : [self nameColor]; |
| NSDictionary* nameAttributes = [NSDictionary |
| dictionaryWithObjectsAndKeys:controller_->layout_model() |