fix: Lifetime of auth_info_ in login handler (#15044)
This commit is contained in:
parent
524bb99948
commit
3d8af9d279
2 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ LoginHandler::LoginHandler(
|
|||
net::AuthCredentials* credentials,
|
||||
const content::ResourceRequestInfo* resource_request_info)
|
||||
: credentials_(credentials),
|
||||
auth_info_(auth_info),
|
||||
auth_info_(&auth_info),
|
||||
auth_callback_(std::move(callback)),
|
||||
weak_factory_(this) {
|
||||
DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue