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

Unified Diff: webkit/compositor_bindings/WebAnimationImpl.h

Issue 11085029: [cc] Use base ptr types for cc's CSS animation classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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: webkit/compositor_bindings/WebAnimationImpl.h
diff --git a/webkit/compositor_bindings/WebAnimationImpl.h b/webkit/compositor_bindings/WebAnimationImpl.h
index a4abfc9162e6abb43f915cac39e9acc693c90581..d15eeb3a57aed8a55db5d15362db4e124c9556de 100644
--- a/webkit/compositor_bindings/WebAnimationImpl.h
+++ b/webkit/compositor_bindings/WebAnimationImpl.h
@@ -5,6 +5,7 @@
#ifndef WebAnimationImpl_h
#define WebAnimationImpl_h
+#include "base/memory/scoped_ptr.h"
#include <public/WebAnimation.h>
#include <wtf/OwnPtr.h>
#include <wtf/PassOwnPtr.h>
@@ -32,9 +33,10 @@ public:
virtual bool alternatesDirection() const OVERRIDE;
virtual void setAlternatesDirection(bool) OVERRIDE;
- PassOwnPtr<cc::CCActiveAnimation> cloneToCCAnimation();
+ scoped_ptr<cc::CCActiveAnimation> cloneToCCAnimation();
+
private:
- OwnPtr<cc::CCActiveAnimation> m_animation;
+ scoped_ptr<cc::CCActiveAnimation> m_animation;
};
}
« no previous file with comments | « webkit/compositor_bindings/WebAnimationCurveCommon.cpp ('k') | webkit/compositor_bindings/WebAnimationImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698