Index: chrome/browser/extensions/extension_page_actions_module.cc |
=================================================================== |
--- chrome/browser/extensions/extension_page_actions_module.cc (revision 27027) |
+++ chrome/browser/extensions/extension_page_actions_module.cc (working copy) |
@@ -70,7 +70,9 @@ |
return false; |
} |
- const PageAction* page_action = extension->GetPageAction(page_action_id); |
+ const ContextualAction* page_action = |
+ extension->GetContextualAction(page_action_id, |
+ ContextualAction::PAGE_ACTION); |
if (!page_action) { |
error_ = ExtensionErrorUtils::FormatErrorMessage(keys::kNoPageActionError, |
page_action_id); |