Index: Source/modules/webmidi/NavigatorWebMIDI.h |
diff --git a/Source/modules/webmidi/NavigatorWebMIDI.h b/Source/modules/webmidi/NavigatorWebMIDI.h |
index f904826513a65b0b8a6c3832d0a508977d41b140..dba8152c693bd9ed0e3fc0e7fba20738a49d12e0 100644 |
--- a/Source/modules/webmidi/NavigatorWebMIDI.h |
+++ b/Source/modules/webmidi/NavigatorWebMIDI.h |
@@ -43,9 +43,9 @@ class Navigator; |
class NavigatorWebMIDI FINAL : public Supplement<Navigator>, public DOMWindowProperty { |
public: |
virtual ~NavigatorWebMIDI(); |
- static NavigatorWebMIDI* from(Navigator*); |
+ static NavigatorWebMIDI& from(Navigator&); |
- static PassRefPtrWillBeRawPtr<MIDIAccessPromise> requestMIDIAccess(Navigator*, const Dictionary&); |
+ static PassRefPtrWillBeRawPtr<MIDIAccessPromise> requestMIDIAccess(Navigator&, const Dictionary&); |
PassRefPtrWillBeRawPtr<MIDIAccessPromise> requestMIDIAccess(const Dictionary&); |
private: |