Index: webrtc/p2p/base/pseudotcp_unittest.cc |
diff --git a/webrtc/p2p/base/pseudotcp_unittest.cc b/webrtc/p2p/base/pseudotcp_unittest.cc |
index a635bcef16957374754238fb34b128ebe9a4dc85..8fb5b38b4d9bab77b233b62e9bf3d018c2bd57e1 100644 |
--- a/webrtc/p2p/base/pseudotcp_unittest.cc |
+++ b/webrtc/p2p/base/pseudotcp_unittest.cc |
@@ -147,8 +147,8 @@ class PseudoTcpTestBase : public testing::Test, |
} else { |
int id = (tcp == &local_) ? MSG_RPACKET : MSG_LPACKET; |
std::string packet(buffer, len); |
- rtc::Thread::Current()->PostDelayed(delay_, this, id, |
- rtc::WrapMessageData(packet)); |
+ rtc::Thread::Current()->PostDelayed(RTC_FROM_HERE, delay_, this, id, |
+ rtc::WrapMessageData(packet)); |
} |
return WR_SUCCESS; |
} |
@@ -160,7 +160,7 @@ class PseudoTcpTestBase : public testing::Test, |
tcp->GetNextClock(PseudoTcp::Now(), interval); |
interval = std::max<int>(interval, 0L); // sometimes interval is < 0 |
rtc::Thread::Current()->Clear(this, message); |
- rtc::Thread::Current()->PostDelayed(interval, this, message); |
+ rtc::Thread::Current()->PostDelayed(RTC_FROM_HERE, interval, this, message); |
} |
virtual void OnMessage(rtc::Message* message) { |
@@ -457,7 +457,7 @@ class PseudoTcpTestReceiveWindow : public PseudoTcpTestBase { |
EXPECT_EQ(0, Connect()); |
EXPECT_TRUE_WAIT(have_connected_, kConnectTimeoutMs); |
- rtc::Thread::Current()->Post(this, MSG_WRITE); |
+ rtc::Thread::Current()->Post(RTC_FROM_HERE, this, MSG_WRITE); |
EXPECT_TRUE_WAIT(have_disconnected_, kTransferTimeoutMs); |
ASSERT_EQ(2u, send_position_.size()); |
@@ -563,7 +563,7 @@ class PseudoTcpTestReceiveWindow : public PseudoTcpTestBase { |
// If there are non-clock messages remaining, attempt to continue sending |
// after giving those messages time to process, which should free up the |
// send buffer. |
- rtc::Thread::Current()->PostDelayed(10, this, MSG_WRITE); |
+ rtc::Thread::Current()->PostDelayed(RTC_FROM_HERE, 10, this, MSG_WRITE); |
} else { |
if (!remote_.isReceiveBufferFull()) { |
LOG(LS_ERROR) << "This shouldn't happen - the send buffer is full, " |