Index: chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm |
=================================================================== |
--- chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm (revision 71520) |
+++ chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm (working copy) |
@@ -97,7 +97,8 @@ |
arrowLocation:info_bubble::kTopRight |
devMode:NO]; |
} else { |
- ExtensionBrowserEventRouter::GetInstance()->PageActionExecuted( |
+ ExtensionService* service = profile_->GetExtensionService(); |
+ service->browser_event_router()->PageActionExecuted( |
profile_, page_action_->extension_id(), page_action_->id(), |
current_tab_id_, current_url_.spec(), |
1); |