| Index: chrome/common/extensions/manifest_handlers/extension_action_handler.cc
|
| diff --git a/chrome/common/extensions/manifest_handlers/extension_action_handler.cc b/chrome/common/extensions/manifest_handlers/extension_action_handler.cc
|
| index 15682c61dd2886a7c3d28c707934623b1b20d91d..3d2a465325ccc584c53978f9e99b06b5ee8ce514 100644
|
| --- a/chrome/common/extensions/manifest_handlers/extension_action_handler.cc
|
| +++ b/chrome/common/extensions/manifest_handlers/extension_action_handler.cc
|
| @@ -74,7 +74,9 @@ bool ExtensionActionHandler::Parse(Extension* extension,
|
|
|
| // Set an empty page action. We use a page action (instead of a browser
|
| // action) because the action should not be seen as enabled on every page.
|
| - ActionInfo::SetPageActionInfo(extension, new ActionInfo());
|
| + scoped_ptr<ActionInfo> action_info(new ActionInfo());
|
| + action_info->synthesized = true;
|
| + ActionInfo::SetPageActionInfo(extension, action_info.release());
|
| }
|
|
|
| return true;
|
|
|