summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/event_router_forwarder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/event_router_forwarder.cc')
-rw-r--r--chrome/browser/extensions/event_router_forwarder.cc10
1 files changed, 3 insertions, 7 deletions
diff --git a/chrome/browser/extensions/event_router_forwarder.cc b/chrome/browser/extensions/event_router_forwarder.cc
index f094608..15b7e97 100644
--- a/chrome/browser/extensions/event_router_forwarder.cc
+++ b/chrome/browser/extensions/event_router_forwarder.cc
@@ -26,7 +26,7 @@ void EventRouterForwarder::BroadcastEventToRenderers(
const std::string& event_name,
scoped_ptr<base::ListValue> event_args,
const GURL& event_url) {
- HandleEvent(std::string(), event_name, event_args.Pass(), 0, true, event_url);
+ HandleEvent("", event_name, event_args.Pass(), 0, true, event_url);
}
void EventRouterForwarder::DispatchEventToRenderers(
@@ -37,12 +37,8 @@ void EventRouterForwarder::DispatchEventToRenderers(
const GURL& event_url) {
if (!profile)
return;
- HandleEvent(std::string(),
- event_name,
- event_args.Pass(),
- profile,
- use_profile_to_restrict_events,
- event_url);
+ HandleEvent("", event_name, event_args.Pass(), profile,
+ use_profile_to_restrict_events, event_url);
}
void EventRouterForwarder::BroadcastEventToExtension(