Index: Source/modules/notifications/Notification.cpp |
diff --git a/Source/modules/notifications/Notification.cpp b/Source/modules/notifications/Notification.cpp |
index a5a0aac36191d62aae8e69786edef7e037d9c6db..5fb0c9a83b655ebefcf15c67c27edacb511aa673 100644 |
--- a/Source/modules/notifications/Notification.cpp |
+++ b/Source/modules/notifications/Notification.cpp |
@@ -46,7 +46,7 @@ namespace blink { |
Notification* Notification::create(ExecutionContext* context, const String& title, const NotificationOptions& options) |
{ |
NotificationClient& client = NotificationController::clientFrom(context); |
- Notification* notification = adoptRefCountedGarbageCollectedWillBeNoop(new Notification(title, context, &client)); |
+ Notification* notification = new Notification(title, context, &client); |
notification->setBody(options.body()); |
notification->setTag(options.tag()); |