Index: webrtc/p2p/base/p2ptransportchannel_unittest.cc |
diff --git a/webrtc/p2p/base/p2ptransportchannel_unittest.cc b/webrtc/p2p/base/p2ptransportchannel_unittest.cc |
index 6673f8f54d3e9f96c501662664bd2106b9097ab5..c9600ddddd4a0b719f3f67a6086d1ce8b1d66b3d 100644 |
--- a/webrtc/p2p/base/p2ptransportchannel_unittest.cc |
+++ b/webrtc/p2p/base/p2ptransportchannel_unittest.cc |
@@ -3550,7 +3550,7 @@ TEST_F(P2PTransportChannelPingTest, TestIceRoleUpdatedOnRemovedPort) { |
// Make a fake signal to remove the ports in the p2ptransportchannel. then |
// change the ICE role and expect it to be updated. |
std::vector<PortInterface*> ports(1, conn->port()); |
- ch.allocator_session()->SignalPortsRemoved(ch.allocator_session(), ports); |
+ ch.allocator_session()->SignalPortsPruned(ch.allocator_session(), ports); |
ch.SetIceRole(ICEROLE_CONTROLLED); |
EXPECT_EQ(ICEROLE_CONTROLLED, conn->port()->GetIceRole()); |
} |