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

Unified Diff: cc/test/CCAnimationTestCommon.h

Issue 11086053: Revert 161133 - [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
===================================================================
--- cc/test/CCAnimationTestCommon.h (revision 161134)
+++ cc/test/CCAnimationTestCommon.h (working copy)
@@ -10,6 +10,8 @@
#include "CCLayerAnimationController.h"
#include "IntSize.h"
+#include <wtf/OwnPtr.h>
+
namespace cc {
class CCLayerImpl;
class LayerChromium;
@@ -25,7 +27,7 @@
virtual double duration() const OVERRIDE;
virtual float getValue(double now) const OVERRIDE;
- virtual scoped_ptr<cc::CCAnimationCurve> clone() const OVERRIDE;
+ virtual PassOwnPtr<cc::CCAnimationCurve> clone() const OVERRIDE;
private:
double m_duration;
@@ -39,7 +41,7 @@
virtual double duration() const OVERRIDE;
virtual WebKit::WebTransformationMatrix getValue(double time) const OVERRIDE;
- virtual scoped_ptr<cc::CCAnimationCurve> clone() const OVERRIDE;
+ virtual PassOwnPtr<cc::CCAnimationCurve> clone() const OVERRIDE;
private:
double m_duration;
@@ -53,7 +55,7 @@
virtual double duration() const OVERRIDE;
virtual float getValue(double time) const OVERRIDE;
- virtual scoped_ptr<cc::CCAnimationCurve> clone() const OVERRIDE;
+ virtual PassOwnPtr<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