summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/management/management_api.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/api/management/management_api.cc')
-rw-r--r--chrome/browser/extensions/api/management/management_api.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/extensions/api/management/management_api.cc b/chrome/browser/extensions/api/management/management_api.cc
index 8cbe2d6..16584f1 100644
--- a/chrome/browser/extensions/api/management/management_api.cc
+++ b/chrome/browser/extensions/api/management/management_api.cc
@@ -649,9 +649,10 @@ void ExtensionManagementEventRouter::Observe(
args->Append(info->ToValue().release());
}
+ scoped_ptr<extensions::Event> event(new extensions::Event(
+ event_name, args.Pass()));
extensions::ExtensionSystem::Get(profile)->event_router()->
- DispatchEventToRenderers(event_name, args.Pass(), NULL, GURL(),
- extensions::EventFilteringInfo());
+ BroadcastEvent(event.Pass());
}
ExtensionManagementAPI::ExtensionManagementAPI(Profile* profile)