Index: chrome/browser/extensions/api/notifications/notifications_api.cc |
diff --git a/chrome/browser/extensions/api/notifications/notifications_api.cc b/chrome/browser/extensions/api/notifications/notifications_api.cc |
index e5e6bf6cfaccfec160e9aac5de4021cea0c3ffc9..0cbde4162501b77f3781fedd9778e10962c9d6f8 100644 |
--- a/chrome/browser/extensions/api/notifications/notifications_api.cc |
+++ b/chrome/browser/extensions/api/notifications/notifications_api.cc |
@@ -184,7 +184,7 @@ class NotificationsApiDelegate : public NotificationDelegate { |
if (!event_router_) |
return; |
- scoped_ptr<Event> event(new Event(name, args.Pass())); |
+ scoped_ptr<Event> event(new Event(events::UNKNOWN, name, args.Pass())); |
event->user_gesture = user_gesture; |
event_router_->DispatchEventToExtension(extension_id_, event.Pass()); |
} |