Index: chrome/browser/ui/views/browser_actions_container.cc |
=================================================================== |
--- chrome/browser/ui/views/browser_actions_container.cc (revision 71520) |
+++ chrome/browser/ui/views/browser_actions_container.cc (working copy) |
@@ -483,7 +483,8 @@ |
// Popups just display. No notification to the extension. |
// TODO(erikkay): should there be? |
if (!button->IsPopup()) { |
- ExtensionBrowserEventRouter::GetInstance()->BrowserActionExecuted( |
+ ExtensionService* service = profile_->GetExtensionService(); |
+ service->browser_event_router()->BrowserActionExecuted( |
profile_, browser_action->extension_id(), browser_); |
return; |
} |