| Index: chrome/browser/ui/webui/options/handler_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/handler_options_handler.cc b/chrome/browser/ui/webui/options/handler_options_handler.cc
|
| index e202ba1de55949e811bc402003aee2010e38e755..94b25e0e7d8dd01ebaa3e1e57c3115e688ff3ae4 100644
|
| --- a/chrome/browser/ui/webui/options/handler_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/handler_options_handler.cc
|
| @@ -140,9 +140,10 @@ void HandlerOptionsHandler::UpdateHandlerList() {
|
|
|
| std::unique_ptr<base::ListValue> ignored_handlers(new base::ListValue());
|
| GetIgnoredHandlers(ignored_handlers.get());
|
| - web_ui()->CallJavascriptFunction("HandlerOptions.setHandlers", handlers);
|
| - web_ui()->CallJavascriptFunction("HandlerOptions.setIgnoredHandlers",
|
| - *ignored_handlers);
|
| + web_ui()->CallJavascriptFunctionUnsafe("HandlerOptions.setHandlers",
|
| + handlers);
|
| + web_ui()->CallJavascriptFunctionUnsafe("HandlerOptions.setIgnoredHandlers",
|
| + *ignored_handlers);
|
| }
|
|
|
| void HandlerOptionsHandler::RemoveHandler(const base::ListValue* args) {
|
|
|