Index: net/tools/quic/quic_client_session_test.cc |
diff --git a/net/tools/quic/quic_client_session_test.cc b/net/tools/quic/quic_client_session_test.cc |
index c2b0d81859b23f6017bb5f05675b4fbb974b7cf3..f9d761ee08e986370974fc6df9e662ae738e2c32 100644 |
--- a/net/tools/quic/quic_client_session_test.cc |
+++ b/net/tools/quic/quic_client_session_test.cc |
@@ -130,7 +130,7 @@ TEST_P(ToolsQuicClientSessionTest, InvalidPacketReceived) { |
IPEndPoint client_address(TestPeerIPAddress(), kTestPort); |
EXPECT_CALL(*connection_, ProcessUdpPacket(server_address, client_address, _)) |
- .WillRepeatedly(Invoke(implicit_cast<MockConnection*>(connection_), |
+ .WillRepeatedly(Invoke(static_cast<MockConnection*>(connection_), |
&MockConnection::ReallyProcessUdpPacket)); |
EXPECT_CALL(*connection_, OnCanWrite()).Times(AnyNumber()); |
EXPECT_CALL(*connection_, OnError(_)).Times(1); |
@@ -167,7 +167,7 @@ TEST_P(ToolsQuicClientSessionTest, InvalidFramedPacketReceived) { |
IPEndPoint client_address(TestPeerIPAddress(), kTestPort); |
EXPECT_CALL(*connection_, ProcessUdpPacket(server_address, client_address, _)) |
- .WillRepeatedly(Invoke(implicit_cast<MockConnection*>(connection_), |
+ .WillRepeatedly(Invoke(static_cast<MockConnection*>(connection_), |
&MockConnection::ReallyProcessUdpPacket)); |
EXPECT_CALL(*connection_, OnError(_)).Times(1); |