2011-06-23 Darin Adler <darin@apple.com>
[WebKit-https.git] / Source / WebCore / page / WebKitAnimationList.h
index b82e38a..58df2c0 100644 (file)
@@ -39,16 +39,16 @@ class WebKitAnimationList : public RefCounted<WebKitAnimationList> {
 public:
     static PassRefPtr<WebKitAnimationList> create()
     {
-        return adoptRef(new WebKitAnimationList());
+        return adoptRef(new WebKitAnimationList);
     }
     ~WebKitAnimationList();
 
     unsigned length() const;
     WebKitAnimation* item(unsigned index);
 
-    unsigned insertAnimation(RefPtr<WebKitAnimation>, unsigned index);
+    unsigned insertAnimation(PassRefPtr<WebKitAnimation>, unsigned index);
     void deleteAnimation(unsigned index);
-    void append(RefPtr<WebKitAnimation>);
+    void append(PassRefPtr<WebKitAnimation>);
 
 private:
     WebKitAnimationList();