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

Unified Diff: net/tools/quic/quic_client_session_test.cc

Issue 1340683002: Remove base's implicit_cast. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: implicitcast: numericstest Created 5 years, 3 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
« no previous file with comments | « net/tools/flip_server/url_utilities_unittest.cc ('k') | ui/base/page_transition_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « net/tools/flip_server/url_utilities_unittest.cc ('k') | ui/base/page_transition_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698