Index: Source/modules/notifications/Notification.cpp |
diff --git a/Source/modules/notifications/Notification.cpp b/Source/modules/notifications/Notification.cpp |
index d2ef64739f2ac192e046659b12ca61db9bf9a784..ef0e36cb3881a29a311d0fed7d1bc7efbe94c31d 100644 |
--- a/Source/modules/notifications/Notification.cpp |
+++ b/Source/modules/notifications/Notification.cpp |
@@ -45,7 +45,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()); |