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

Unified Diff: third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.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/platform/graphics/CompositorMutatorClient.h
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.h b/third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.h
index 6adfb58c7881f767891a6f1f95e1d6a181cd01e9..6fb32995cf59617e02c306b0bf52fd738d28444d 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.h
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutatorClient.h
@@ -8,8 +8,7 @@
#include "platform/PlatformExport.h"
#include "platform/heap/Handle.h"
#include "public/platform/WebCompositorMutatorClient.h"
-#include "wtf/OwnPtr.h"
-#include "wtf/PassOwnPtr.h"
+#include <memory>
namespace blink {
@@ -31,12 +30,12 @@ public:
CompositorMutator* mutator() { return m_mutator.get(); }
- void setMutationsForTesting(PassOwnPtr<CompositorMutations>);
+ void setMutationsForTesting(std::unique_ptr<CompositorMutations>);
private:
cc::LayerTreeMutatorClient* m_client;
CompositorMutationsTarget* m_mutationsTarget;
Persistent<CompositorMutator> m_mutator;
- OwnPtr<CompositorMutations> m_mutations;
+ std::unique_ptr<CompositorMutations> m_mutations;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698