Chromium Code Reviews| Index: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp |
| diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp |
| index 79f35a22693a050135726de006be5a2fbaca6f97..8d2a60b778239fc21ed7f8f7c5dcc03e7b6753ab 100644 |
| --- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp |
| +++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp |
| @@ -800,7 +800,7 @@ RTCSessionDescription* RTCPeerConnection::remoteDescription() { |
| void RTCPeerConnection::updateIce(ExecutionContext* context, |
| const RTCConfiguration& rtcConfiguration, |
| - const Dictionary& mediaConstraints, |
| + const Dictionary&, |
| ExceptionState& exceptionState) { |
| if (throwExceptionIfSignalingStateClosed(m_signalingState, exceptionState)) |
| return; |
| @@ -818,12 +818,11 @@ void RTCPeerConnection::updateIce(ExecutionContext* context, |
| return; |
| } |
| - // Constraints are ignored. |
| - bool valid = m_peerHandler->updateICE(configuration); |
| - if (!valid) |
| - exceptionState.throwDOMException( |
| - SyntaxError, |
| - "Could not update the ICE Agent with the given configuration."); |
| + // TODO(deadbeef): When this changes to setConfiguration, call |
| + // m_peerHandler->setConfiguration. |
|
hbos_chromium
2016/11/21 09:13:04
This will now no longer track updateIce (RTCPeerCo
hbos_chromium
2016/11/21 09:17:56
If you land as-is (up to you) take a note of this
|
| + exceptionState.throwDOMException( |
| + SyntaxError, |
| + "Could not update the ICE Agent with the given configuration."); |
| } |
| ScriptPromise RTCPeerConnection::generateCertificate( |