Index: chrome/test/data/extensions/api_test/notifications/galore/app/controller.js |
diff --git a/chrome/test/data/extensions/api_test/notifications/galore/app/controller.js b/chrome/test/data/extensions/api_test/notifications/galore/app/controller.js |
index 2c4ede057e917677e9f0424031fa53778080a4fe..5f5aa1ad6f3f19f6a4124318cc0dc4f00440576e 100644 |
--- a/chrome/test/data/extensions/api_test/notifications/galore/app/controller.js |
+++ b/chrome/test/data/extensions/api_test/notifications/galore/app/controller.js |
@@ -123,7 +123,10 @@ Galore.controller = { |
var iconUrl = options.iconUrl; |
var title = options.title; |
var message = options.message; |
- webkitNotifications.createNotification(iconUrl, title, message).show(); |
+ new Notification(title, { |
+ body: message, |
+ icon: iconUrl |
+ }); |
this.handleEvent_('create', '?', 'title: "' + title + '"'); |
}, |