| 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 c851eb51e1356e54c40dd006b685bcc6d7396e9a..9da61fa78bb872a9b9e7567552f9343cd690227b 100644
|
| --- a/chrome/browser/ui/webui/settings/protocol_handlers_handler.cc
|
| +++ b/chrome/browser/ui/webui/settings/protocol_handlers_handler.cc
|
| @@ -201,8 +201,8 @@ void ProtocolHandlersHandler::HandleClearDefault(const base::ListValue* args) {
|
| }
|
|
|
| void ProtocolHandlersHandler::HandleSetDefault(const base::ListValue* args) {
|
| - const base::ListValue* list;
|
| - CHECK(args->GetList(0, &list));
|
| + const base::ListValue* list =
|
| + static_cast<const base::ListValue*>(&args->base::Value::GetList()[0]);
|
| const ProtocolHandler& handler(ParseHandlerFromArgs(list));
|
| CHECK(!handler.IsEmpty());
|
| GetProtocolHandlerRegistry()->OnAcceptRegisterProtocolHandler(handler);
|
|
|