| Index: chrome/browser/extensions/event_router_forwarder.cc
|
| diff --git a/chrome/browser/extensions/event_router_forwarder.cc b/chrome/browser/extensions/event_router_forwarder.cc
|
| index 15b7e971bed5f0f3696b89df8142240922a2aae5..f09460853b6b3bccd2c24ddf95cca17ff0c2ce6e 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("", event_name, event_args.Pass(), 0, true, event_url);
|
| + HandleEvent(std::string(), event_name, event_args.Pass(), 0, true, event_url);
|
| }
|
|
|
| void EventRouterForwarder::DispatchEventToRenderers(
|
| @@ -37,8 +37,12 @@ void EventRouterForwarder::DispatchEventToRenderers(
|
| const GURL& event_url) {
|
| if (!profile)
|
| return;
|
| - HandleEvent("", event_name, event_args.Pass(), profile,
|
| - use_profile_to_restrict_events, event_url);
|
| + HandleEvent(std::string(),
|
| + event_name,
|
| + event_args.Pass(),
|
| + profile,
|
| + use_profile_to_restrict_events,
|
| + event_url);
|
| }
|
|
|
| void EventRouterForwarder::BroadcastEventToExtension(
|
|
|