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