Index: net/http/http_server_properties_impl_unittest.cc |
diff --git a/net/http/http_server_properties_impl_unittest.cc b/net/http/http_server_properties_impl_unittest.cc |
index 5a5b3261bd35dfdc0db397424fac3275d7fa5930..73c5c39c35514fca445ac6783603ffa9c581f910 100644 |
--- a/net/http/http_server_properties_impl_unittest.cc |
+++ b/net/http/http_server_properties_impl_unittest.cc |
@@ -1271,7 +1271,7 @@ TEST_F(SupportsQuicServerPropertiesTest, Initialize) { |
EXPECT_TRUE(address.empty()); |
// Check by initializing with a valid address. |
- CHECK(IPAddress::FromIPLiteral("127.0.0.1", &initial_address)); |
+ CHECK(initial_address.AssignFromIPLiteral("127.0.0.1")); |
impl_.InitializeSupportsQuic(&initial_address); |
EXPECT_TRUE(impl_.GetSupportsQuic(&address)); |
@@ -1284,7 +1284,7 @@ TEST_F(SupportsQuicServerPropertiesTest, SetSupportsQuic) { |
EXPECT_TRUE(address.empty()); |
IPAddress actual_address; |
- CHECK(IPAddress::FromIPLiteral("127.0.0.1", &actual_address)); |
+ CHECK(actual_address.AssignFromIPLiteral("127.0.0.1")); |
impl_.SetSupportsQuic(true, actual_address); |
EXPECT_TRUE(impl_.GetSupportsQuic(&address)); |