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

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

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 24d45f9aaca1522d89c6a8baa19e4f7ff26afbe2..5cfc0539cd8776127dc3f4aa619f55bb4bff24d9 100644
--- a/third_party/WebKit/Source/core/animation/Animation.h
+++ b/third_party/WebKit/Source/core/animation/Animation.h
@@ -45,7 +45,6 @@
#include "platform/animation/CompositorAnimationPlayerClient.h"
#include "platform/heap/Handle.h"
#include "wtf/RefPtr.h"
-#include <memory>
namespace blink {
@@ -295,11 +294,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.
- std::unique_ptr<CompositorState> m_compositorState;
+ OwnPtr<CompositorState> m_compositorState;
bool m_compositorPending;
int m_compositorGroup;
- std::unique_ptr<CompositorAnimationPlayer> m_compositorPlayer;
+ OwnPtr<CompositorAnimationPlayer> m_compositorPlayer;
bool m_currentTimePending;
bool m_stateIsBeingUpdated;

Powered by Google App Engine
This is Rietveld 408576698