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

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

Issue 2494553002: Rename RTCIceCandidateEvent to RTCPeerConnectionIceEvent and expose. (Closed)
Patch Set: Update rebase Created 4 years, 1 month 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/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..abbf1093891bbec3954f1e592c28bd65606e41a6 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp
@@ -60,10 +60,10 @@
#include "modules/peerconnection/RTCDTMFSender.h"
#include "modules/peerconnection/RTCDataChannel.h"
#include "modules/peerconnection/RTCDataChannelEvent.h"
-#include "modules/peerconnection/RTCIceCandidateEvent.h"
#include "modules/peerconnection/RTCIceServer.h"
#include "modules/peerconnection/RTCOfferOptions.h"
#include "modules/peerconnection/RTCPeerConnectionErrorCallback.h"
+#include "modules/peerconnection/RTCPeerConnectionIceEvent.h"
#include "modules/peerconnection/RTCSessionDescription.h"
#include "modules/peerconnection/RTCSessionDescriptionCallback.h"
#include "modules/peerconnection/RTCSessionDescriptionInit.h"
@@ -1259,11 +1259,12 @@ void RTCPeerConnection::didGenerateICECandidate(
DCHECK(!m_closed);
DCHECK(getExecutionContext()->isContextThread());
if (webCandidate.isNull()) {
- scheduleDispatchEvent(RTCIceCandidateEvent::create(false, false, nullptr));
+ scheduleDispatchEvent(
+ RTCPeerConnectionIceEvent::create(false, false, nullptr));
} else {
RTCIceCandidate* iceCandidate = RTCIceCandidate::create(webCandidate);
scheduleDispatchEvent(
- RTCIceCandidateEvent::create(false, false, iceCandidate));
+ RTCPeerConnectionIceEvent::create(false, false, iceCandidate));
}
}

Powered by Google App Engine
This is Rietveld 408576698