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

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

Issue 221003002: Password bubble: Lock displayed password length to 15 characters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 ab3b2ac7819ed444ed5630fa89503b63d57fa779..1a365424e41743b2ea83562b907306e3398ff883 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));
+ : ManagePasswordItemView::GetPasswordDisplayString());
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