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

Unified Diff: cc/test/CCAnimationTestCommon.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
« no previous file with comments | « cc/TreeSynchronizerTest.cpp ('k') | cc/test/CCAnimationTestCommon.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/CCAnimationTestCommon.h
diff --git a/cc/test/CCAnimationTestCommon.h b/cc/test/CCAnimationTestCommon.h
index 6ebf199e97feb69def061304b04fee60152ccf93..a768930afe2b600a3e1458af37bb3a233944198a 100644
--- a/cc/test/CCAnimationTestCommon.h
+++ b/cc/test/CCAnimationTestCommon.h
@@ -10,8 +10,6 @@
#include "CCLayerAnimationController.h"
#include "IntSize.h"
-#include <wtf/OwnPtr.h>
-
namespace cc {
class CCLayerImpl;
class LayerChromium;
@@ -27,7 +25,7 @@ public:
virtual double duration() const OVERRIDE;
virtual float getValue(double now) const OVERRIDE;
- virtual PassOwnPtr<cc::CCAnimationCurve> clone() const OVERRIDE;
+ virtual scoped_ptr<cc::CCAnimationCurve> clone() const OVERRIDE;
private:
double m_duration;
@@ -41,7 +39,7 @@ public:
virtual double duration() const OVERRIDE;
virtual WebKit::WebTransformationMatrix getValue(double time) const OVERRIDE;
- virtual PassOwnPtr<cc::CCAnimationCurve> clone() const OVERRIDE;
+ virtual scoped_ptr<cc::CCAnimationCurve> clone() const OVERRIDE;
private:
double m_duration;
@@ -55,7 +53,7 @@ public:
virtual double duration() const OVERRIDE;
virtual float getValue(double time) const OVERRIDE;
- virtual PassOwnPtr<cc::CCAnimationCurve> clone() const OVERRIDE;
+ virtual scoped_ptr<cc::CCAnimationCurve> clone() const OVERRIDE;
private:
double m_duration;
« no previous file with comments | « cc/TreeSynchronizerTest.cpp ('k') | cc/test/CCAnimationTestCommon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698