| Index: ui/login/account_picker/user_pod_row.js
|
| diff --git a/ui/login/account_picker/user_pod_row.js b/ui/login/account_picker/user_pod_row.js
|
| index 71e88f292fade6756b7ce5bcca209238bf3dcd79..4d11b857d20a218cf39ee456f3dae7f5758632c5 100644
|
| --- a/ui/login/account_picker/user_pod_row.js
|
| +++ b/ui/login/account_picker/user_pod_row.js
|
| @@ -374,7 +374,12 @@ cr.define('login', function() {
|
| * Shows the icon.
|
| */
|
| show: function() {
|
| - this.hidden = false;
|
| + // Show the icon if the current iconId is valid.
|
| + var validIcon = false;
|
| + UserPodCustomIcon.ICONS.forEach(function(icon) {
|
| + validIcon = validIcon || this.iconId_ == icon.id;
|
| + }, this);
|
| + this.hidden = validIcon ? false : true;
|
| },
|
|
|
| /**
|
|
|