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

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

Issue 1375533002: Sync the RTCPeerConnection interface with the spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix username Created 5 years, 3 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 b9f5ee76b80a519c58851c9fbcd767251cddc7f5..8fcfb151c7501c01ccecb154045756c3262678ec 100644
--- a/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp
@@ -361,7 +361,7 @@ void RTCPeerConnection::setLocalDescription(RTCSessionDescription* sessionDescri
m_peerHandler->setLocalDescription(request, sessionDescription->webSessionDescription());
}
-RTCSessionDescription* RTCPeerConnection::localDescription(ExceptionState& exceptionState)
+RTCSessionDescription* RTCPeerConnection::localDescription()
{
WebRTCSessionDescription webSessionDescription = m_peerHandler->localDescription();
if (webSessionDescription.isNull())
@@ -384,7 +384,7 @@ void RTCPeerConnection::setRemoteDescription(RTCSessionDescription* sessionDescr
m_peerHandler->setRemoteDescription(request, sessionDescription->webSessionDescription());
}
-RTCSessionDescription* RTCPeerConnection::remoteDescription(ExceptionState& exceptionState)
+RTCSessionDescription* RTCPeerConnection::remoteDescription()
{
WebRTCSessionDescription webSessionDescription = m_peerHandler->remoteDescription();
if (webSessionDescription.isNull())

Powered by Google App Engine
This is Rietveld 408576698