| Index: net/http/http_auth_controller.cc
|
| diff --git a/net/http/http_auth_controller.cc b/net/http/http_auth_controller.cc
|
| index 0b3d5c09aed8afb092005d18cddf9202e0dd4266..ea37a41ef2da136e3b10e8f92f997229b979671e 100644
|
| --- a/net/http/http_auth_controller.cc
|
| +++ b/net/http/http_auth_controller.cc
|
| @@ -209,6 +209,7 @@ int HttpAuthController::MaybeGenerateAuthToken(
|
| const HttpRequestInfo* request, const CompletionCallback& callback,
|
| const BoundNetLog& net_log) {
|
| DCHECK(CalledOnValidThread());
|
| + DCHECK(request);
|
| bool needs_auth = HaveAuth() || SelectPreemptiveAuth(net_log);
|
| if (!needs_auth)
|
| return OK;
|
| @@ -218,7 +219,7 @@ int HttpAuthController::MaybeGenerateAuthToken(
|
| DCHECK(auth_token_.empty());
|
| DCHECK(callback_.is_null());
|
| int rv = handler_->GenerateAuthToken(
|
| - credentials, request,
|
| + credentials, *request,
|
| base::Bind(&HttpAuthController::OnIOComplete, base::Unretained(this)),
|
| &auth_token_);
|
| if (DisableOnAuthHandlerResult(rv))
|
|
|