[WebIDL] Add support for converting dictionaries to JS
[WebKit-https.git] / Source / WebCore / Modules / mediastream / RTCRtpSender.cpp
index 8850bbf..53b6f2c 100644 (file)
@@ -67,7 +67,7 @@ void RTCRtpSender::setTrack(RefPtr<MediaStreamTrack>&& track)
     m_track = WTFMove(track);
 }
 
-ExceptionOr<void> RTCRtpSender::replaceTrack(Ref<MediaStreamTrack>&& withTrack, PeerConnection::VoidPromise&& promise)
+ExceptionOr<void> RTCRtpSender::replaceTrack(Ref<MediaStreamTrack>&& withTrack, DOMPromise<void>&& promise)
 {
     if (isStopped()) {
         promise.reject(INVALID_STATE_ERR);