Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(391)

Unified Diff: third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp

Issue 1729683002: Remove old-style constraints from Chrome internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Complete the interface change Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp b/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp
index 5d168bb7dc149efc95b5d3cfedff3b573e3c776f..b595c8ab5d3f8d1fac06f25f21c51eb248a9fb79 100644
--- a/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp
@@ -593,13 +593,13 @@ void RTCPeerConnection::updateIce(ExecutionContext* context, const Dictionary& r
return;
MediaErrorState mediaErrorState;
- WebMediaConstraints constraints = MediaConstraintsImpl::create(context, mediaConstraints, mediaErrorState);
if (mediaErrorState.hadException()) {
mediaErrorState.raiseException(exceptionState);
return;
}
- bool valid = m_peerHandler->updateICE(configuration, constraints);
+ // Constraints are ignored.
+ bool valid = m_peerHandler->updateICE(configuration);
if (!valid)
exceptionState.throwDOMException(SyntaxError, "Could not update the ICE Agent with the given configuration.");
}

Powered by Google App Engine
This is Rietveld 408576698