Index: chrome/browser/ui/webui/settings/settings_manage_profile_handler.cc |
diff --git a/chrome/browser/ui/webui/settings/settings_manage_profile_handler.cc b/chrome/browser/ui/webui/settings/settings_manage_profile_handler.cc |
index 70ea07043c89d5c5a28368e2a4d90b2f2f949a4d..384014361c5fbd38f043d0ad2455b4e56906cc21 100644 |
--- a/chrome/browser/ui/webui/settings/settings_manage_profile_handler.cc |
+++ b/chrome/browser/ui/webui/settings/settings_manage_profile_handler.cc |
@@ -98,9 +98,7 @@ void ManageProfileHandler::OnJavascriptDisallowed() { |
void ManageProfileHandler::OnProfileAvatarChanged( |
const base::FilePath& profile_path) { |
// This is necessary to send the potentially updated GAIA photo. |
- CallJavascriptFunction("cr.webUIListenerCallback", |
- base::Value("available-icons-changed"), |
- *GetAvailableIcons()); |
+ FireWebUIListener("available-icons-changed", *GetAvailableIcons()); |
} |
void ManageProfileHandler::HandleGetAvailableIcons( |