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

Unified Diff: third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurve.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from Kent; merge. Created 4 years, 6 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: third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurve.h
diff --git a/third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurve.h b/third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurve.h
index dc7df7c48ac8034fa124290ad877138848765037..c51a982704079f47a396fcc99c4cf36ef88a21a2 100644
--- a/third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurve.h
+++ b/third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurve.h
@@ -11,6 +11,7 @@
#include "platform/animation/TimingFunction.h"
#include "wtf/Noncopyable.h"
#include "wtf/Vector.h"
+#include <memory>
namespace cc {
class KeyframedFloatAnimationCurve;
@@ -29,7 +30,7 @@ public:
CompositorFloatAnimationCurve();
~CompositorFloatAnimationCurve() override;
- static PassOwnPtr<CompositorFloatAnimationCurve> CreateForTesting(std::unique_ptr<cc::KeyframedFloatAnimationCurve>);
+ static std::unique_ptr<CompositorFloatAnimationCurve> CreateForTesting(std::unique_ptr<cc::KeyframedFloatAnimationCurve>);
Vector<CompositorFloatKeyframe> keyframesForTesting() const;
// TODO(loyso): Erase these methods once blink/cc timing functions unified.

Powered by Google App Engine
This is Rietveld 408576698