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

Unified Diff: third_party/WebKit/Source/web/CompositorMutatorImpl.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/web/CompositorMutatorImpl.h
diff --git a/third_party/WebKit/Source/web/CompositorMutatorImpl.h b/third_party/WebKit/Source/web/CompositorMutatorImpl.h
index 7fa5074704c63f2ee6156344fbd77b3e3cc7e016..a5281b6caba60853ee152a8e29d8c97071207f01 100644
--- a/third_party/WebKit/Source/web/CompositorMutatorImpl.h
+++ b/third_party/WebKit/Source/web/CompositorMutatorImpl.h
@@ -10,8 +10,7 @@
#include "platform/heap/Handle.h"
#include "platform/heap/HeapAllocator.h"
#include "wtf/Noncopyable.h"
-#include "wtf/OwnPtr.h"
-#include "wtf/PassOwnPtr.h"
+#include <memory>
namespace blink {
@@ -54,7 +53,7 @@ private:
using ProxyClients = HeapHashSet<WeakMember<CompositorProxyClientImpl>>;
ProxyClients m_proxyClients;
- OwnPtr<CustomCompositorAnimationManager> m_animationManager;
+ std::unique_ptr<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