Index: net/spdy/spdy_session_spdy2_unittest.cc |
diff --git a/net/spdy/spdy_session_spdy2_unittest.cc b/net/spdy/spdy_session_spdy2_unittest.cc |
index 0b93815736f38eac014f07daeb179ae5d5362d44..1d7026f59402edc5a1b4c1c612365080b3448d55 100644 |
--- a/net/spdy/spdy_session_spdy2_unittest.cc |
+++ b/net/spdy/spdy_session_spdy2_unittest.cc |
@@ -678,8 +678,8 @@ void IPPoolingTest(SpdyPoolCloseSessionsType close_sessions_type) { |
SpdySessionDependencies session_deps; |
session_deps.host_resolver->set_synchronous_mode(true); |
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_hosts); i++) { |
- session_deps.host_resolver->rules()->AddIPLiteralRule(test_hosts[i].name, |
- test_hosts[i].iplist, ""); |
+ session_deps.host_resolver->rules()->AddIPLiteralRule( |
+ test_hosts[i].name, test_hosts[i].iplist, std::string()); |
// This test requires that the HostResolver cache be populated. Normal |
// code would have done this already, but we do it manually. |
@@ -1139,7 +1139,7 @@ TEST_F(SpdySessionSpdy2Test, CloseSessionWithTwoCreatedStreams) { |
EXPECT_EQ(0u, spdy_stream2->stream_id()); |
// Ensure we don't crash while closing the session. |
- session->CloseSessionOnError(ERR_ABORTED, true, ""); |
+ session->CloseSessionOnError(ERR_ABORTED, true, std::string()); |
EXPECT_TRUE(spdy_stream1->closed()); |
EXPECT_TRUE(spdy_stream2->closed()); |