Index: chrome/browser/ui/webui/settings/about_handler.cc |
diff --git a/chrome/browser/ui/webui/settings/about_handler.cc b/chrome/browser/ui/webui/settings/about_handler.cc |
index 2ee8ce7b1a1b8390b67e5c374ea4e9fbc9f2123f..6784b926dc75e1af0527e47a2fa988294f357828 100644 |
--- a/chrome/browser/ui/webui/settings/about_handler.cc |
+++ b/chrome/browser/ui/webui/settings/about_handler.cc |
@@ -613,8 +613,7 @@ void AboutHandler::SetUpdateStatus(VersionUpdater::Status status, |
} |
#endif // defined(OS_CHROMEOS) |
- CallJavascriptFunction("cr.webUIListenerCallback", |
- base::Value("update-status-changed"), *event); |
+ FireWebUIListener("update-status-changed", *event); |
} |
#if defined(OS_MACOSX) |
@@ -641,8 +640,7 @@ void AboutHandler::SetPromotionState(VersionUpdater::PromotionState state) { |
if (!text.empty()) |
promo_state.SetString("text", text); |
- CallJavascriptFunction("cr.webUIListenerCallback", |
- base::Value("promotion-state-changed"), promo_state); |
+ FireWebUIListener("promotion-state-changed", promo_state); |
} |
#endif // defined(OS_MACOSX) |