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

Unified Diff: third_party/WebKit/Source/core/animation/AnimationTimeline.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. 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/core/animation/AnimationTimeline.h
diff --git a/third_party/WebKit/Source/core/animation/AnimationTimeline.h b/third_party/WebKit/Source/core/animation/AnimationTimeline.h
index 4dc8e86e067ce30aacd59b1b49a68f689ed5e59b..caddbf3ab950299b0a01d557e7a17e8a0e465086 100644
--- a/third_party/WebKit/Source/core/animation/AnimationTimeline.h
+++ b/third_party/WebKit/Source/core/animation/AnimationTimeline.h
@@ -41,6 +41,7 @@
#include "platform/heap/Handle.h"
#include "wtf/RefPtr.h"
#include "wtf/Vector.h"
+#include <memory>
namespace blink {
@@ -123,7 +124,7 @@ private:
Member<PlatformTiming> m_timing;
double m_lastCurrentTimeInternal;
- OwnPtr<CompositorAnimationTimeline> m_compositorTimeline;
+ std::unique_ptr<CompositorAnimationTimeline> m_compositorTimeline;
class AnimationTimelineTiming final : public PlatformTiming {
public:

Powered by Google App Engine
This is Rietveld 408576698