Index: third_party/WebKit/Source/web/MIDIClientProxy.h |
diff --git a/third_party/WebKit/Source/web/MIDIClientProxy.h b/third_party/WebKit/Source/web/MIDIClientProxy.h |
index 05395e8dbbc8ed57825ba5b4a26d8ee8ed073fcc..9f8cefaf0acb0a8b21632a288065d53166210dc9 100644 |
--- a/third_party/WebKit/Source/web/MIDIClientProxy.h |
+++ b/third_party/WebKit/Source/web/MIDIClientProxy.h |
@@ -33,6 +33,8 @@ |
#include "modules/webmidi/MIDIClient.h" |
#include "platform/heap/Handle.h" |
+#include "wtf/PtrUtil.h" |
+#include <memory> |
namespace blink { |
@@ -42,9 +44,9 @@ class WebMIDIClient; |
class MIDIClientProxy final : public MIDIClient { |
public: |
- static PassOwnPtr<MIDIClientProxy> create(WebMIDIClient* client) |
+ static std::unique_ptr<MIDIClientProxy> create(WebMIDIClient* client) |
{ |
- return adoptPtr(new MIDIClientProxy(client)); |
+ return wrapUnique(new MIDIClientProxy(client)); |
} |
// MIDIClient |