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

Unified Diff: Source/core/events/TransitionEvent.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/events/TransitionEvent.h
diff --git a/Source/core/events/TransitionEvent.h b/Source/core/events/TransitionEvent.h
index 0cc81f5a4944bb8241c9c9c1058b13a74f28e37c..27d774a71a4a4a5481102960d7ed2b9838e7c28a 100644
--- a/Source/core/events/TransitionEvent.h
+++ b/Source/core/events/TransitionEvent.h
@@ -41,17 +41,17 @@ struct TransitionEventInit : public EventInit {
class TransitionEvent FINAL : public Event {
public:
- static PassRefPtrWillBeRawPtr<TransitionEvent> create()
+ static PassRefPtr<TransitionEvent> create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new TransitionEvent);
+ return adoptRef(new TransitionEvent);
}
- static PassRefPtrWillBeRawPtr<TransitionEvent> create(const AtomicString& type, const String& propertyName, double elapsedTime, const String& pseudoElement)
+ static PassRefPtr<TransitionEvent> create(const AtomicString& type, const String& propertyName, double elapsedTime, const String& pseudoElement)
{
- return adoptRefWillBeRefCountedGarbageCollected(new TransitionEvent(type, propertyName, elapsedTime, pseudoElement));
+ return adoptRef(new TransitionEvent(type, propertyName, elapsedTime, pseudoElement));
}
- static PassRefPtrWillBeRawPtr<TransitionEvent> create(const AtomicString& type, const TransitionEventInit& initializer)
+ static PassRefPtr<TransitionEvent> create(const AtomicString& type, const TransitionEventInit& initializer)
{
- return adoptRefWillBeRefCountedGarbageCollected(new TransitionEvent(type, initializer));
+ return adoptRef(new TransitionEvent(type, initializer));
}
virtual ~TransitionEvent();

Powered by Google App Engine
This is Rietveld 408576698