| Index: chrome/browser/extensions/extension_popup_api.cc
|
| diff --git a/chrome/browser/extensions/extension_popup_api.cc b/chrome/browser/extensions/extension_popup_api.cc
|
| index 3059079445511aa6749a8f48c895f7c5d7b0a00b..8ef2fe81ca7724120bd6bbf7ac7ad13d100294d9 100644
|
| --- a/chrome/browser/extensions/extension_popup_api.cc
|
| +++ b/chrome/browser/extensions/extension_popup_api.cc
|
| @@ -73,7 +73,7 @@ void PopupShowFunction::Run() {
|
|
|
| bool PopupShowFunction::RunImpl() {
|
| EXTENSION_FUNCTION_VALIDATE(args_->IsType(Value::TYPE_LIST));
|
| - const ListValue* args = static_cast<const ListValue*>(args_);
|
| + const ListValue* args = args_as_list();
|
|
|
| DictionaryValue* popup_info = NULL;
|
| EXTENSION_FUNCTION_VALIDATE(args->GetDictionary(0, &popup_info));
|
|
|