| Index: chrome/browser/ui/webui/settings/settings_media_devices_selection_handler.cc
|
| diff --git a/chrome/browser/ui/webui/settings/settings_media_devices_selection_handler.cc b/chrome/browser/ui/webui/settings/settings_media_devices_selection_handler.cc
|
| index 56093d1f977c84af5611bdc270324eb99f4cfeab..17987af0a560e56aa162fa0132c3f25c3f44f6dc 100644
|
| --- a/chrome/browser/ui/webui/settings/settings_media_devices_selection_handler.cc
|
| +++ b/chrome/browser/ui/webui/settings/settings_media_devices_selection_handler.cc
|
| @@ -139,9 +139,8 @@ void MediaDevicesSelectionHandler::UpdateDevicesMenu(
|
|
|
| base::Value default_value(default_id);
|
| base::Value type_value(device_type);
|
| - CallJavascriptFunction("cr.webUIListenerCallback",
|
| - base::Value("updateDevicesMenu"), type_value,
|
| - device_list, default_value);
|
| + FireWebUIListener("updateDevicesMenu", type_value, device_list,
|
| + default_value);
|
| }
|
|
|
| std::string MediaDevicesSelectionHandler::GetDeviceDisplayName(
|
|
|