Index: Source/core/html/track/TrackEvent.h |
diff --git a/Source/core/html/track/TrackEvent.h b/Source/core/html/track/TrackEvent.h |
index 15dc425464462c28cf2fe5fe2a8422864acd6ebf..b868838728e84dfd52f5fe2e0f63de3e62149f6e 100644 |
--- a/Source/core/html/track/TrackEvent.h |
+++ b/Source/core/html/track/TrackEvent.h |
@@ -41,14 +41,14 @@ class TrackEvent FINAL : public Event { |
public: |
virtual ~TrackEvent(); |
- static PassRefPtr<TrackEvent> create() |
+ static PassRefPtrWillBeRawPtr<TrackEvent> create() |
{ |
- return adoptRef(new TrackEvent); |
+ return adoptRefCountedWillBeRefCountedGarbageCollected(new TrackEvent); |
} |
- static PassRefPtr<TrackEvent> create(const AtomicString& type, const TrackEventInit& initializer) |
+ static PassRefPtrWillBeRawPtr<TrackEvent> create(const AtomicString& type, const TrackEventInit& initializer) |
{ |
- return adoptRef(new TrackEvent(type, initializer)); |
+ return adoptRefCountedWillBeRefCountedGarbageCollected(new TrackEvent(type, initializer)); |
} |
virtual const AtomicString& interfaceName() const OVERRIDE; |