| Index: net/http/http_auth_handler_negotiate.cc
|
| diff --git a/net/http/http_auth_handler_negotiate.cc b/net/http/http_auth_handler_negotiate.cc
|
| index 3262767ef1cc12fbad183af41d44c7daed802a10..cbcd8e9e8ee593941698465f34eb3bcc318f974e 100644
|
| --- a/net/http/http_auth_handler_negotiate.cc
|
| +++ b/net/http/http_auth_handler_negotiate.cc
|
| @@ -61,7 +61,8 @@ int HttpAuthHandlerNegotiate::Factory::CreateAuthHandler(
|
| url_security_manager(), resolver_,
|
| disable_cname_lookup_, use_port_));
|
| #elif defined(OS_ANDROID)
|
| - if (is_unsupported_ || auth_library_->empty() || reason == CREATE_PREEMPTIVE)
|
| + if (is_unsupported_ || !auth_library_ || auth_library_->empty() ||
|
| + reason == CREATE_PREEMPTIVE)
|
| return ERR_UNSUPPORTED_AUTH_SCHEME;
|
| // TODO(cbentzel): Move towards model of parsing in the factory
|
| // method and only constructing when valid.
|
|
|