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

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

Issue 1634073003: Remove references between RTCPeerConnection and RTCDataChannel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove RTCPeerConnection reference from RTCDataChannel Created 4 years, 11 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/RTCDataChannelTest.cpp
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCDataChannelTest.cpp b/third_party/WebKit/Source/modules/mediastream/RTCDataChannelTest.cpp
index ce83320b217997d1251aa2c264bce9b95056a1f6..771124dde69d4026bd00ba46a0c195fb748c696a 100644
--- a/third_party/WebKit/Source/modules/mediastream/RTCDataChannelTest.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/RTCDataChannelTest.cpp
@@ -79,7 +79,7 @@ private:
TEST(RTCDataChannelTest, BufferedAmount)
{
MockHandler* handler = new MockHandler();
- RTCDataChannel* channel = RTCDataChannel::create(0, 0, adoptPtr(handler));
+ RTCDataChannel* channel = RTCDataChannel::create(0, adoptPtr(handler));
handler->changeState(WebRTCDataChannelHandlerClient::ReadyStateOpen);
String message(std::string(100, 'A').c_str());
@@ -90,7 +90,7 @@ TEST(RTCDataChannelTest, BufferedAmount)
TEST(RTCDataChannelTest, BufferedAmountLow)
{
MockHandler* handler = new MockHandler();
- RTCDataChannel* channel = RTCDataChannel::create(0, 0, adoptPtr(handler));
+ RTCDataChannel* channel = RTCDataChannel::create(0, adoptPtr(handler));
// Add and drain 100 bytes
handler->changeState(WebRTCDataChannelHandlerClient::ReadyStateOpen);

Powered by Google App Engine
This is Rietveld 408576698