| Index: chrome/browser/ui/webui/settings/protocol_handlers_handler.cc
|
| diff --git a/chrome/browser/ui/webui/settings/protocol_handlers_handler.cc b/chrome/browser/ui/webui/settings/protocol_handlers_handler.cc
|
| index 42610c6b6f60584b85bb4ec2770cc88ac4b6f612..70d02e81591188a2711a1164a7ac2c02df8bf540 100644
|
| --- a/chrome/browser/ui/webui/settings/protocol_handlers_handler.cc
|
| +++ b/chrome/browser/ui/webui/settings/protocol_handlers_handler.cc
|
| @@ -128,10 +128,9 @@ void ProtocolHandlersHandler::UpdateHandlerList() {
|
| std::unique_ptr<base::ListValue> ignored_handlers(new base::ListValue());
|
| GetIgnoredHandlers(ignored_handlers.get());
|
| CallJavascriptFunction("cr.webUIListenerCallback",
|
| - base::StringValue("setProtocolHandlers"),
|
| - handlers);
|
| + base::Value("setProtocolHandlers"), handlers);
|
| CallJavascriptFunction("cr.webUIListenerCallback",
|
| - base::StringValue("setIgnoredProtocolHandlers"),
|
| + base::Value("setIgnoredProtocolHandlers"),
|
| *ignored_handlers);
|
| }
|
|
|
| @@ -150,7 +149,7 @@ void ProtocolHandlersHandler::HandleObserveProtocolHandlersEnabledState(
|
|
|
| void ProtocolHandlersHandler::SendHandlersEnabledValue() {
|
| CallJavascriptFunction("cr.webUIListenerCallback",
|
| - base::StringValue("setHandlersEnabled"),
|
| + base::Value("setHandlersEnabled"),
|
| base::Value(GetProtocolHandlerRegistry()->enabled()));
|
| }
|
|
|
|
|