Commit d750bb9b authored by John Z Wu's avatar John Z Wu Committed by Commit Bot

Return •••••••• for password autofill suggestions

Change-Id: I1224ab1cb4c399f5e9cb2001524ef53cca6d83bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1875277
Auto-Submit: John Wu <jzw@chromium.org>
Reviewed-by: default avatarHiroshi Ichikawa <ichikawa@chromium.org>
Commit-Queue: Hiroshi Ichikawa <ichikawa@chromium.org>
Cr-Commit-Position: refs/heads/master@{#708926}
parent fb90ec8e
......@@ -46,7 +46,12 @@
}
- (NSString*)displayDescription {
return [_formSuggestion.displayDescription copy];
if ([self isPasswordSuggestion]) {
// An opaque password string used to hide the true length of the password.
return @"••••••••";
} else {
return [_formSuggestion.displayDescription copy];
}
}
- (UIImage* __nullable)icon {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment