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

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

Issue 329853004: Remove RefCountedGarbageCollected from EventTarget objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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.h
diff --git a/Source/modules/notifications/Notification.h b/Source/modules/notifications/Notification.h
index 50b7e9c747f4384b7f59dc65a27f8a65f9e5793f..0e8896377b4ba9ba4099d2db6218223760cd7d30 100644
--- a/Source/modules/notifications/Notification.h
+++ b/Source/modules/notifications/Notification.h
@@ -48,8 +48,7 @@ class Dictionary;
class ExecutionContext;
class NotificationPermissionCallback;
-class Notification : public RefCountedGarbageCollected<Notification>, public ScriptWrappable, public ActiveDOMObject, public EventTargetWithInlineData {
- DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedGarbageCollected<Notification>);
+class Notification : public GarbageCollectedFinalized<Notification>, public ScriptWrappable, public ActiveDOMObject, public EventTargetWithInlineData {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Notification);
public:
static Notification* create(ExecutionContext*, const String& title, const Dictionary& options);

Powered by Google App Engine
This is Rietveld 408576698