| Index: chrome/browser/extensions/page_action_controller.cc
|
| diff --git a/chrome/browser/extensions/page_action_controller.cc b/chrome/browser/extensions/page_action_controller.cc
|
| index 7156245fef00ee8cfd952b6e8b01fb8e9609c6ba..7d4877a0ff0742bd37ecf7a50882a50252c14e40 100644
|
| --- a/chrome/browser/extensions/page_action_controller.cc
|
| +++ b/chrome/browser/extensions/page_action_controller.cc
|
| @@ -23,7 +23,7 @@ PageActionController::PageActionController(TabContents* tab_contents)
|
|
|
| PageActionController::~PageActionController() {}
|
|
|
| -std::vector<ExtensionAction*> PageActionController::GetCurrentActions() {
|
| +std::vector<ExtensionAction*> PageActionController::GetCurrentActions() const {
|
| ExtensionService* service = GetExtensionService();
|
| if (!service)
|
| return std::vector<ExtensionAction*>();
|
| @@ -81,7 +81,7 @@ void PageActionController::NotifyChange() {
|
| content::INVALIDATE_TYPE_PAGE_ACTIONS);
|
| }
|
|
|
| -ExtensionService* PageActionController::GetExtensionService() {
|
| +ExtensionService* PageActionController::GetExtensionService() const {
|
| return ExtensionSystem::Get(tab_contents_->profile())->extension_service();
|
| }
|
|
|
|
|