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

Unified Diff: third_party/WebKit/Source/core/animation/Animation.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/Animation.h
diff --git a/third_party/WebKit/Source/core/animation/Animation.h b/third_party/WebKit/Source/core/animation/Animation.h
index 5cfc0539cd8776127dc3f4aa619f55bb4bff24d9..24d45f9aaca1522d89c6a8baa19e4f7ff26afbe2 100644
--- a/third_party/WebKit/Source/core/animation/Animation.h
+++ b/third_party/WebKit/Source/core/animation/Animation.h
@@ -45,6 +45,7 @@
#include "platform/animation/CompositorAnimationPlayerClient.h"
#include "platform/heap/Handle.h"
#include "wtf/RefPtr.h"
+#include <memory>
namespace blink {
@@ -294,11 +295,11 @@ private:
// This mirrors the known compositor state. It is created when a compositor
// animation is started. Updated once the start time is known and each time
// modifications are pushed to the compositor.
- OwnPtr<CompositorState> m_compositorState;
+ std::unique_ptr<CompositorState> m_compositorState;
bool m_compositorPending;
int m_compositorGroup;
- OwnPtr<CompositorAnimationPlayer> m_compositorPlayer;
+ std::unique_ptr<CompositorAnimationPlayer> m_compositorPlayer;
bool m_currentTimePending;
bool m_stateIsBeingUpdated;

Powered by Google App Engine
This is Rietveld 408576698