| Index: chrome/browser/ui/webui/settings/settings_default_browser_handler.cc
|
| diff --git a/chrome/browser/ui/webui/settings/settings_default_browser_handler.cc b/chrome/browser/ui/webui/settings/settings_default_browser_handler.cc
|
| index 4cd6010f3f9d39c910a9e4b305a44486532839dd..a96ea7524f8bd1c5a46049f0780efcdafe63410f 100644
|
| --- a/chrome/browser/ui/webui/settings/settings_default_browser_handler.cc
|
| +++ b/chrome/browser/ui/webui/settings/settings_default_browser_handler.cc
|
| @@ -101,9 +101,7 @@ void DefaultBrowserHandler::OnDefaultBrowserWorkerFinished(
|
| state == shell_integration::UNKNOWN_DEFAULT);
|
| dict.SetBoolean("isDisabledByPolicy", DefaultBrowserIsDisabledByPolicy());
|
|
|
| - CallJavascriptFunction("cr.webUIListenerCallback",
|
| - base::Value("settings.updateDefaultBrowserState"),
|
| - dict);
|
| + FireWebUIListener("settings.updateDefaultBrowserState", dict);
|
| }
|
|
|
| } // namespace settings
|
|
|