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

Unified Diff: chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc

Issue 221853003: Password bubble: Add a test for displayed password length. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rewrite. Created 6 years, 9 months 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
« no previous file with comments | « chrome/browser/ui/views/passwords/manage_password_item_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
diff --git a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
index f6dc8b4b6dd559234f1600c31e2f8e84df68902a..bf5b5b1eff3d92bf31c3fc4d8baf6ae0606280e4 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
+++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
@@ -40,8 +40,7 @@ int GetFieldWidth(const autofill::PasswordForm& password_form,
base::string16 display_string(
type == ManagePasswordsBubbleView::USERNAME_FIELD
? password_form.username_value
- : ManagePasswordItemView::GetPasswordDisplayString(
- password_form.password_value));
+ : password_form.password_value);
return std::min(
gfx::FontList().GetExpectedTextWidth(kMaxDisplayableStringWidth),
gfx::GetStringWidth(display_string, font_list));
« no previous file with comments | « chrome/browser/ui/views/passwords/manage_password_item_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698