diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-01-23 17:21:03 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-01-23 16:25:15 +0000 |
commit | c551f43206405019121bd2b2c93714319a0a3300 (patch) | |
tree | 1f48c30631c421fd4bbb3c36da20183c8a2ed7d7 /chromium/third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc | |
parent | 7961cea6d1041e3e454dae6a1da660b453efd238 (diff) | |
download | qtwebengine-chromium-c551f43206405019121bd2b2c93714319a0a3300.tar.gz |
BASELINE: Update Chromium to 79.0.3945.139
Change-Id: I336b7182fab9bca80b709682489c07db112eaca5
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/chromium/third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc b/chromium/third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc index a40b6f03b4a..26cec8dd675 100644 --- a/chromium/third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc +++ b/chromium/third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc @@ -45,7 +45,6 @@ #include "third_party/blink/public/platform/web_crypto_algorithm_params.h" #include "third_party/blink/public/platform/web_media_stream.h" #include "third_party/blink/public/platform/web_rtc_answer_options.h" -#include "third_party/blink/public/platform/web_rtc_certificate_generator.h" #include "third_party/blink/public/platform/web_rtc_data_channel_init.h" #include "third_party/blink/public/platform/web_rtc_ice_candidate.h" #include "third_party/blink/public/platform/web_rtc_key_params.h" @@ -79,6 +78,7 @@ #include "third_party/blink/renderer/modules/mediastream/media_stream_event.h" #include "third_party/blink/renderer/modules/mediastream/user_media_controller.h" #include "third_party/blink/renderer/modules/peerconnection/rtc_answer_options.h" +#include "third_party/blink/renderer/modules/peerconnection/rtc_certificate_generator.h" #include "third_party/blink/renderer/modules/peerconnection/rtc_configuration.h" #include "third_party/blink/renderer/modules/peerconnection/rtc_data_channel.h" #include "third_party/blink/renderer/modules/peerconnection/rtc_data_channel_event.h" @@ -1670,8 +1670,7 @@ ScriptPromise RTCPeerConnection::generateCertificate( } DCHECK(key_params.has_value()); - std::unique_ptr<WebRTCCertificateGenerator> certificate_generator = - Platform::Current()->CreateRTCCertificateGenerator(); + auto certificate_generator = std::make_unique<RTCCertificateGenerator>(); // |keyParams| was successfully constructed, but does the certificate // generator support these parameters? @@ -1995,20 +1994,21 @@ bool RTCPeerConnection::IsRemoteStream(MediaStream* stream) const { ScriptPromise RTCPeerConnection::getStats(ScriptState* script_state, ExceptionState& exception_state) { - return getStats( - script_state, - ScriptValue(script_state, v8::Undefined(script_state->GetIsolate())), - ScriptValue(script_state, v8::Undefined(script_state->GetIsolate())), - exception_state); + return getStats(script_state, + ScriptValue(script_state->GetIsolate(), + v8::Undefined(script_state->GetIsolate())), + ScriptValue(script_state->GetIsolate(), + v8::Undefined(script_state->GetIsolate())), + exception_state); } ScriptPromise RTCPeerConnection::getStats(ScriptState* script_state, ScriptValue callback_or_selector, ExceptionState& exception_state) { - return getStats( - script_state, std::move(callback_or_selector), - ScriptValue(script_state, v8::Undefined(script_state->GetIsolate())), - exception_state); + return getStats(script_state, std::move(callback_or_selector), + ScriptValue(script_state->GetIsolate(), + v8::Undefined(script_state->GetIsolate())), + exception_state); } ScriptPromise RTCPeerConnection::getStats(ScriptState* script_state, |