diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-12 03:35:09 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-12 03:35:09 +0000 |
commit | a0cd861da830c29f48772beda559f51b584fbd6b (patch) | |
tree | 0437c1791d5354ca9b05c40b7786c26a0589a85d /webkit/compositor_bindings/WebTransformAnimationCurveImpl.h | |
parent | a36c6649e81d18e8669c0b879d00d69a086fedbd (diff) | |
download | chromium_src-a0cd861da830c29f48772beda559f51b584fbd6b.zip chromium_src-a0cd861da830c29f48772beda559f51b584fbd6b.tar.gz chromium_src-a0cd861da830c29f48772beda559f51b584fbd6b.tar.bz2 |
[cc] Use base ptr types for cc's CSS animation classes
Rerelanding https://codereview.chromium.org/11085029/
BUG=154451
Review URL: https://chromiumcodereview.appspot.com/11091057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161488 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/compositor_bindings/WebTransformAnimationCurveImpl.h')
-rw-r--r-- | webkit/compositor_bindings/WebTransformAnimationCurveImpl.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/webkit/compositor_bindings/WebTransformAnimationCurveImpl.h b/webkit/compositor_bindings/WebTransformAnimationCurveImpl.h index 8631ef9..88f1c3e 100644 --- a/webkit/compositor_bindings/WebTransformAnimationCurveImpl.h +++ b/webkit/compositor_bindings/WebTransformAnimationCurveImpl.h @@ -5,9 +5,8 @@ #ifndef WebTransformAnimationCurveImpl_h #define WebTransformAnimationCurveImpl_h +#include "base/memory/scoped_ptr.h" #include <public/WebTransformAnimationCurve.h> -#include <wtf/OwnPtr.h> -#include <wtf/PassOwnPtr.h> namespace cc { class CCAnimationCurve; @@ -31,10 +30,10 @@ public: virtual WebTransformationMatrix getValue(double time) const OVERRIDE; - PassOwnPtr<cc::CCAnimationCurve> cloneToCCAnimationCurve() const; + scoped_ptr<cc::CCAnimationCurve> cloneToCCAnimationCurve() const; private: - OwnPtr<cc::CCKeyframedTransformAnimationCurve> m_curve; + scoped_ptr<cc::CCKeyframedTransformAnimationCurve> m_curve; }; } |