Index: Source/modules/webmidi/MIDIClient.h |
diff --git a/Source/modules/webmidi/MIDIClient.h b/Source/modules/webmidi/MIDIClient.h |
index 34761fc398a8aa4d2db39b503891b8d3ea44843b..970236cb0fa023c2b53c02c7a4d9088c79115c78 100644 |
--- a/Source/modules/webmidi/MIDIClient.h |
+++ b/Source/modules/webmidi/MIDIClient.h |
@@ -43,11 +43,10 @@ public: |
virtual void requestSysexPermission(PassRefPtrWillBeRawPtr<MIDIAccess>) = 0; |
virtual void cancelSysexPermissionRequest(MIDIAccess*) = 0; |
-protected: |
virtual ~MIDIClient() { } |
}; |
-void provideMIDITo(Page&, MIDIClient*); |
+void provideMIDITo(Page&, PassOwnPtr<MIDIClient>); |
} // namespace WebCore |