Index: net/http/http_auth_unittest.cc |
diff --git a/net/http/http_auth_unittest.cc b/net/http/http_auth_unittest.cc |
index d39d503c7e4201df3f3b88f1b1404d2b0d0f3624..f75cf023cb919d5a582c27b75414fc8e36fd5572 100644 |
--- a/net/http/http_auth_unittest.cc |
+++ b/net/http/http_auth_unittest.cc |
@@ -33,8 +33,8 @@ HttpAuthHandlerMock* CreateMockHandler(bool expect_multiple_challenges) { |
HttpAuthChallengeTokenizer challenge(challenge_text.begin(), |
challenge_text.end()); |
GURL origin("www.example.com"); |
- EXPECT_TRUE(auth_handler->InitFromChallenge(&challenge, HttpAuth::AUTH_SERVER, |
- origin, BoundNetLog())); |
+ EXPECT_EQ(OK, auth_handler->HandleInitialChallenge( |
+ challenge, HttpAuth::AUTH_SERVER, origin, BoundNetLog())); |
return auth_handler; |
} |