summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/tabs/tabs_event_router.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/api/tabs/tabs_event_router.cc')
-rw-r--r--chrome/browser/extensions/api/tabs/tabs_event_router.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/api/tabs/tabs_event_router.cc b/chrome/browser/extensions/api/tabs/tabs_event_router.cc
index a95944f..fd6160d 100644
--- a/chrome/browser/extensions/api/tabs/tabs_event_router.cc
+++ b/chrome/browser/extensions/api/tabs/tabs_event_router.cc
@@ -412,7 +412,7 @@ void TabsEventRouter::FaviconUrlUpdated(WebContents* contents) {
void TabsEventRouter::DispatchEvent(
Profile* profile,
- const char* event_name,
+ const std::string& event_name,
scoped_ptr<ListValue> args,
EventRouter::UserGestureState user_gesture) {
if (!profile_->IsSameProfile(profile) ||
@@ -426,7 +426,7 @@ void TabsEventRouter::DispatchEvent(
}
void TabsEventRouter::DispatchSimpleBrowserEvent(
- Profile* profile, const int window_id, const char* event_name) {
+ Profile* profile, const int window_id, const std::string& event_name) {
if (!profile_->IsSameProfile(profile))
return;