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

Unified Diff: Source/core/html/track/TrackEvent.h

Issue 185393006: Revert "Add [WillBeGarbageCollected] to Event.idl" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/core/html/track/TrackEvent.h
diff --git a/Source/core/html/track/TrackEvent.h b/Source/core/html/track/TrackEvent.h
index f991bf1d60f19ff288e1ab156ee864d2509ec5c0..15dc425464462c28cf2fe5fe2a8422864acd6ebf 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 PassRefPtrWillBeRawPtr<TrackEvent> create()
+ static PassRefPtr<TrackEvent> create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new TrackEvent);
+ return adoptRef(new TrackEvent);
}
- static PassRefPtrWillBeRawPtr<TrackEvent> create(const AtomicString& type, const TrackEventInit& initializer)
+ static PassRefPtr<TrackEvent> create(const AtomicString& type, const TrackEventInit& initializer)
{
- return adoptRefWillBeRefCountedGarbageCollected(new TrackEvent(type, initializer));
+ return adoptRef(new TrackEvent(type, initializer));
}
virtual const AtomicString& interfaceName() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698