Index: Source/modules/webmidi/MIDIAccessPromise.h |
diff --git a/Source/modules/webmidi/MIDIAccessPromise.h b/Source/modules/webmidi/MIDIAccessPromise.h |
index e791013283e0d9a92a1a2a3f7cec9f526ee7cf37..fc63eb807ef23a124b80c31a85f15fa408e6a414 100644 |
--- a/Source/modules/webmidi/MIDIAccessPromise.h |
+++ b/Source/modules/webmidi/MIDIAccessPromise.h |
@@ -61,7 +61,7 @@ public: |
MIDIOptions* options() { return m_options.get(); } |
void fulfill(); |
- void reject(PassRefPtr<DOMError>); |
+ void reject(PassRefPtrWillBeRawPtr<DOMError>); |
void then(PassOwnPtr<MIDISuccessCallback>, PassOwnPtr<MIDIErrorCallback>); |
@@ -83,7 +83,7 @@ private: |
OwnPtr<MIDISuccessCallback> m_successCallback; |
OwnPtr<MIDIErrorCallback> m_errorCallback; |
OwnPtr<MIDIOptions> m_options; |
- RefPtr<DOMError> m_error; |
+ RefPtrWillBeMember<DOMError> m_error; |
RefPtrWillBeMember<MIDIAccess> m_access; |
}; |