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

Unified Diff: Source/core/platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp

Issue 16305017: Removes the old createDataChannel and starts to use the new one with WebRTCDataChannelInit (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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: Source/core/platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp
diff --git a/Source/core/platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp b/Source/core/platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp
index 2b3eac5fe1069c1124711d4a110abbcf977b40eb..623e896b3e6652f05b0f25b4b62d30efda6fc864 100644
--- a/Source/core/platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp
+++ b/Source/core/platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp
@@ -149,9 +149,9 @@ void RTCPeerConnectionHandlerChromium::getStats(PassRefPtr<RTCStatsRequest> requ
m_webHandler->getStats(request);
}
-PassOwnPtr<RTCDataChannelHandler> RTCPeerConnectionHandlerChromium::createDataChannel(const String& label, bool reliable)
+PassOwnPtr<RTCDataChannelHandler> RTCPeerConnectionHandlerChromium::createDataChannel(const String& label, const WebKit::WebRTCDataChannelInit& init)
{
- WebKit::WebRTCDataChannelHandler* webHandler = m_webHandler->createDataChannel(label, reliable);
+ WebKit::WebRTCDataChannelHandler* webHandler = m_webHandler->createDataChannel(label, init);
if (!webHandler)
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698