diff --git a/media/webrtc/signaling/src/peerconnection/PeerConnectionCtx.cpp b/media/webrtc/signaling/src/peerconnection/PeerConnectionCtx.cpp index 049ccbcc556..2a73900b018 100644 --- a/media/webrtc/signaling/src/peerconnection/PeerConnectionCtx.cpp +++ b/media/webrtc/signaling/src/peerconnection/PeerConnectionCtx.cpp @@ -373,7 +373,7 @@ PeerConnectionCtx::~PeerConnectionCtx() { #endif }; -void PeerConnectionCtx::queueJSEPOperation(nsRefPtr aOperation) { +void PeerConnectionCtx::queueJSEPOperation(nsIRunnable* aOperation) { mQueuedJSEPOperations.AppendElement(aOperation); } diff --git a/media/webrtc/signaling/src/peerconnection/PeerConnectionCtx.h b/media/webrtc/signaling/src/peerconnection/PeerConnectionCtx.h index 01ebbd5cb56..fe882cd3d03 100644 --- a/media/webrtc/signaling/src/peerconnection/PeerConnectionCtx.h +++ b/media/webrtc/signaling/src/peerconnection/PeerConnectionCtx.h @@ -39,7 +39,7 @@ class PeerConnectionCtx { return true; } - void queueJSEPOperation(nsRefPtr aJSEPOperation); + void queueJSEPOperation(nsIRunnable* aJSEPOperation); void onGMPReady(); bool gmpHasH264();