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

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

Powered by Google App Engine
This is Rietveld 408576698