Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(712)

Unified Diff: Source/modules/notifications/Notification.cpp

Issue 614373007: Oilpan: Remove adoptRefCountedGarbageCollected (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698