Index: Source/modules/webmidi/MIDIController.h |
diff --git a/Source/modules/webmidi/MIDIController.h b/Source/modules/webmidi/MIDIController.h |
index 3e0a9de7128834f429a7c7a31676a1986e032ca9..35fcf891e116351f437b3c0dcde74b8f540bd5f4 100644 |
--- a/Source/modules/webmidi/MIDIController.h |
+++ b/Source/modules/webmidi/MIDIController.h |
@@ -46,15 +46,15 @@ public: |
void requestSysexPermission(PassRefPtrWillBeRawPtr<MIDIAccess>); |
void cancelSysexPermissionRequest(MIDIAccess*); |
- static PassOwnPtr<MIDIController> create(MIDIClient*); |
+ static PassOwnPtr<MIDIController> create(PassOwnPtr<MIDIClient>); |
static const char* supplementName(); |
static MIDIController* from(Page* page) { return static_cast<MIDIController*>(Supplement<Page>::from(page, supplementName())); } |
protected: |
- explicit MIDIController(MIDIClient*); |
+ explicit MIDIController(PassOwnPtr<MIDIClient>); |
private: |
- MIDIClient* m_client; |
+ OwnPtr<MIDIClient> m_client; |
}; |
} // namespace WebCore |