Index: net/http/http_transaction_test_util.cc |
diff --git a/net/http/http_transaction_test_util.cc b/net/http/http_transaction_test_util.cc |
index df259de330a55a1a195e7179ab00d1602dad5a45..0e027a2ab2ff30d1f63b05d06fc11683728fea6c 100644 |
--- a/net/http/http_transaction_test_util.cc |
+++ b/net/http/http_transaction_test_util.cc |
@@ -391,7 +391,7 @@ bool MockNetworkTransaction::GetLoadTimingInfo( |
bool MockNetworkTransaction::GetRemoteEndpoint(IPEndPoint* endpoint) const { |
IPAddress ip_address; |
- CHECK(IPAddress::FromIPLiteral("127.0.0.1", &ip_address)); |
+ CHECK(ip_address.AssignFromIPLiteral("127.0.0.1")); |
*endpoint = IPEndPoint(ip_address, 80); |
return true; |
} |