Loading dom/base/SubtleCrypto.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ SubtleCrypto::RecordTelemetryOnce() { RefPtr<WebCryptoTask> task = \ WebCryptoTask::Create ## Operation ## Task(__VA_ARGS__); \ if (!task) { \ aRv.Throw(NS_ERROR_OUT_OF_MEMORY); \ aRv.Throw(NS_ERROR_NULL_POINTER); \ return nullptr; \ } \ task->DispatchWithPromise(p); \ Loading dom/media/webrtc/RTCCertificate.cpp +0 −4 Original line number Diff line number Diff line Loading @@ -280,10 +280,6 @@ RTCCertificate::GenerateCertificate( RefPtr<WebCryptoTask> task = new GenerateRTCCertificateTask(global, aGlobal.Context(), aOptions, usages, expires); if (!task) { aRv.Throw(NS_ERROR_OUT_OF_MEMORY); return nullptr; } task->DispatchWithPromise(p); return p.forget(); } Loading Loading
dom/base/SubtleCrypto.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ SubtleCrypto::RecordTelemetryOnce() { RefPtr<WebCryptoTask> task = \ WebCryptoTask::Create ## Operation ## Task(__VA_ARGS__); \ if (!task) { \ aRv.Throw(NS_ERROR_OUT_OF_MEMORY); \ aRv.Throw(NS_ERROR_NULL_POINTER); \ return nullptr; \ } \ task->DispatchWithPromise(p); \ Loading
dom/media/webrtc/RTCCertificate.cpp +0 −4 Original line number Diff line number Diff line Loading @@ -280,10 +280,6 @@ RTCCertificate::GenerateCertificate( RefPtr<WebCryptoTask> task = new GenerateRTCCertificateTask(global, aGlobal.Context(), aOptions, usages, expires); if (!task) { aRv.Throw(NS_ERROR_OUT_OF_MEMORY); return nullptr; } task->DispatchWithPromise(p); return p.forget(); } Loading