| Index: chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc
|
| diff --git a/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc b/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc
|
| index c29b9fbae3e04d2ddf9eb35daa0e8cf99dbab187..dbd70059915d5f201a693a46394f2ec646ec17ce 100644
|
| --- a/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc
|
| +++ b/chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc
|
| @@ -75,9 +75,7 @@ void KeyboardHandler::UpdateShowKeys() {
|
| const base::Value has_diamond_key(
|
| base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| chromeos::switches::kHasChromeOSDiamondKey));
|
| - CallJavascriptFunction("cr.webUIListenerCallback",
|
| - base::Value("show-keys-changed"), has_caps_lock,
|
| - has_diamond_key);
|
| + FireWebUIListener("show-keys-changed", has_caps_lock, has_diamond_key);
|
| }
|
|
|
| } // namespace settings
|
|
|