Index: chrome/browser/resources/settings/people_page/manage_profile.js |
diff --git a/chrome/browser/resources/settings/people_page/manage_profile.js b/chrome/browser/resources/settings/people_page/manage_profile.js |
index ff1f777b74ff323fbb692910aadd43b209fdce16..1a89511edcccf8be86a22b714a072753d00e1629 100644 |
--- a/chrome/browser/resources/settings/people_page/manage_profile.js |
+++ b/chrome/browser/resources/settings/people_page/manage_profile.js |
@@ -52,6 +52,9 @@ Polymer({ |
* @param {!Event} event |
*/ |
onProfileNameChanged_: function(event) { |
+ if (event.target.invalid) |
+ return; |
+ |
settings.SyncPrivateApi.setProfileIconAndName(this.profileIconUrl, |
event.target.value); |
}, |