Index: Source/web/MIDIClientProxy.h |
diff --git a/Source/web/MIDIClientProxy.h b/Source/web/MIDIClientProxy.h |
index 35a6f4cd924474630cccd9afb2d48061600a5794..764e8681cdfde03a7e95d1288642adc1313a15d6 100644 |
--- a/Source/web/MIDIClientProxy.h |
+++ b/Source/web/MIDIClientProxy.h |
@@ -44,13 +44,15 @@ class WebMIDIClient; |
class MIDIClientProxy FINAL : public WebCore::MIDIClient { |
public: |
- explicit MIDIClientProxy(WebMIDIClient*); |
+ static PassOwnPtr<MIDIClientProxy> create(WebMIDIClient*); |
// WebCore::MIDIClient |
virtual void requestSysexPermission(PassRefPtrWillBeRawPtr<WebCore::MIDIAccess>) OVERRIDE; |
virtual void cancelSysexPermissionRequest(WebCore::MIDIAccess*) OVERRIDE; |
private: |
+ explicit MIDIClientProxy(WebMIDIClient*); |
+ |
WebMIDIClient* m_client; |
}; |