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

Unified Diff: chrome/browser/ui/views/autofill/autofill_popup_view_views.cc

Issue 2496683003: Http Bad: Add a PopupItemId to identify http warning message (Closed)
Patch Set: update Created 4 years, 1 month 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/views/autofill/autofill_popup_view_views.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc b/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc
index 4831ed76649608fcfd8b14888a77897f16d5f8d2..b3ce678f84b03b47d62cb491a4ef1fa3a95eec14 100644
--- a/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc
@@ -81,8 +81,8 @@ void AutofillPopupViewViews::DrawAutofillEntry(gfx::Canvas* canvas,
canvas->DrawStringRectWithFlags(
controller_->GetElidedValueAt(index),
controller_->layout_model().GetValueFontListForRow(index),
- controller_->IsWarning(index) ? kLabelTextColor : kValueTextColor,
- value_rect, text_align);
+ controller_->layout_model().GetValueFontColorForRow(index), value_rect,
+ text_align);
// Use this to figure out where all the other Autofill items should be placed.
int x_align_left =
« no previous file with comments | « chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm ('k') | components/autofill/android/java/res/values/colors.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698