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

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

Issue 182763002: Add [WillBeGarbageCollected] to Event.idl (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« no previous file with comments | « Source/core/html/canvas/WebGLContextEvent.h ('k') | Source/core/speech/SpeechInputEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f991bf1d60f19ff288e1ab156ee864d2509ec5c0 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 adoptRefWillBeRefCountedGarbageCollected(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 adoptRefWillBeRefCountedGarbageCollected(new TrackEvent(type, initializer));
}
virtual const AtomicString& interfaceName() const OVERRIDE;
« no previous file with comments | « Source/core/html/canvas/WebGLContextEvent.h ('k') | Source/core/speech/SpeechInputEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698