Index: third_party/WebKit/Source/modules/webmidi/MIDIController.h |
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIController.h b/third_party/WebKit/Source/modules/webmidi/MIDIController.h |
index cdb7d4acc7708e3941ef17bee346944c7511a68c..4cf7bdfcfe23e434a6d71cac289af1f32a885f25 100644 |
--- a/third_party/WebKit/Source/modules/webmidi/MIDIController.h |
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIController.h |
@@ -33,7 +33,6 @@ |
#include "core/frame/LocalFrame.h" |
#include "platform/heap/Handle.h" |
-#include <memory> |
namespace blink { |
@@ -49,17 +48,17 @@ public: |
void requestPermission(MIDIAccessInitializer*, const MIDIOptions&); |
void cancelPermissionRequest(MIDIAccessInitializer*); |
- static MIDIController* create(std::unique_ptr<MIDIClient>); |
+ static MIDIController* create(PassOwnPtr<MIDIClient>); |
static const char* supplementName(); |
static MIDIController* from(LocalFrame* frame) { return static_cast<MIDIController*>(Supplement<LocalFrame>::from(frame, supplementName())); } |
DEFINE_INLINE_VIRTUAL_TRACE() { Supplement<LocalFrame>::trace(visitor); } |
protected: |
- explicit MIDIController(std::unique_ptr<MIDIClient>); |
+ explicit MIDIController(PassOwnPtr<MIDIClient>); |
private: |
- std::unique_ptr<MIDIClient> m_client; |
+ OwnPtr<MIDIClient> m_client; |
}; |
} // namespace blink |