Index: Source/modules/webmidi/MIDIAccessPromise.cpp |
diff --git a/Source/modules/webmidi/MIDIAccessPromise.cpp b/Source/modules/webmidi/MIDIAccessPromise.cpp |
index ca27e0ea1dc3cc3adad297ae8ae469384fef4ba6..86a39d78ca8dabee9776b308672c90e768c23d9a 100644 |
--- a/Source/modules/webmidi/MIDIAccessPromise.cpp |
+++ b/Source/modules/webmidi/MIDIAccessPromise.cpp |
@@ -85,7 +85,7 @@ void MIDIAccessPromise::fulfill() |
} |
} |
-void MIDIAccessPromise::reject(PassRefPtr<DOMError> error) |
+void MIDIAccessPromise::reject(PassRefPtrWillBeRawPtr<DOMError> error) |
{ |
if (m_state == Pending) { |
if (m_errorCallback) { |
@@ -139,6 +139,7 @@ void MIDIAccessPromise::clear() |
void MIDIAccessPromise::trace(Visitor* visitor) |
{ |
+ visitor->trace(m_error); |
visitor->trace(m_access); |
} |