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)); |
} |
} |