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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc

Issue 2517843002: Http Bad: Put icon on the left of http warning message on Views (Closed)
Patch Set: fix mac Created 4 years 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/autofill/autofill_popup_controller_unittest.cc
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc b/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc
index ce2f05543b45340143fa6b7fc84b5c38681e9af9..a6ef0406f1470abf07411f11d52bf338f4b68616 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc
@@ -445,7 +445,8 @@ TEST_F(AutofillPopupControllerUnitTest, ElideText) {
0)) +
gfx::GetStringWidth(
suggestions[0].label,
- autofill_popup_controller_->layout_model().GetLabelFontList()) -
+ autofill_popup_controller_->layout_model().GetLabelFontListForRow(
+ 0)) -
25;
autofill_popup_controller_->ElideValueAndLabelForRow(0, popup_max_width);
« no previous file with comments | « chrome/browser/ui/autofill/autofill_popup_controller_impl.cc ('k') | chrome/browser/ui/autofill/autofill_popup_layout_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698