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

Unified Diff: third_party/WebKit/Source/web/CompositorMutatorImpl.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/web/CompositorMutatorImpl.h
diff --git a/third_party/WebKit/Source/web/CompositorMutatorImpl.h b/third_party/WebKit/Source/web/CompositorMutatorImpl.h
index a5281b6caba60853ee152a8e29d8c97071207f01..7fa5074704c63f2ee6156344fbd77b3e3cc7e016 100644
--- a/third_party/WebKit/Source/web/CompositorMutatorImpl.h
+++ b/third_party/WebKit/Source/web/CompositorMutatorImpl.h
@@ -10,7 +10,8 @@
#include "platform/heap/Handle.h"
#include "platform/heap/HeapAllocator.h"
#include "wtf/Noncopyable.h"
-#include <memory>
+#include "wtf/OwnPtr.h"
+#include "wtf/PassOwnPtr.h"
namespace blink {
@@ -53,7 +54,7 @@ private:
using ProxyClients = HeapHashSet<WeakMember<CompositorProxyClientImpl>>;
ProxyClients m_proxyClients;
- std::unique_ptr<CustomCompositorAnimationManager> m_animationManager;
+ OwnPtr<CustomCompositorAnimationManager> m_animationManager;
CompositorMutatorClient* m_client;
};
« no previous file with comments | « third_party/WebKit/Source/web/ColorChooserUIController.cpp ('k') | third_party/WebKit/Source/web/CompositorMutatorImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698