| Index: chrome/browser/extensions/menu_manager.cc
|
| diff --git a/chrome/browser/extensions/menu_manager.cc b/chrome/browser/extensions/menu_manager.cc
|
| index bd2e0eb7b45a93351599f729f37c2c092967f092..33fcb08ab6503daa43d0b94801be2c697565f3e3 100644
|
| --- a/chrome/browser/extensions/menu_manager.cc
|
| +++ b/chrome/browser/extensions/menu_manager.cc
|
| @@ -643,10 +643,12 @@ void MenuManager::ExecuteCommand(Profile* profile,
|
| // No tab info in a platform app.
|
| if (!extension || !extension->is_platform_app()) {
|
| // Note: web_contents are NULL in unit tests :(
|
| - if (web_contents)
|
| - args->Append(ExtensionTabUtil::CreateTabValue(web_contents, extension));
|
| - else
|
| + if (web_contents) {
|
| + args->Append(ExtensionTabUtil::CreateTabValue(
|
| + web_contents, ExtensionTabUtil::INCLUDE_PRIVACY_SENSITIVE_FIELDS));
|
| + } else {
|
| args->Append(new DictionaryValue());
|
| + }
|
| }
|
|
|
| if (item->type() == MenuItem::CHECKBOX ||
|
|
|