Allow dangling UnretainedWrapper for ResourceRequest* (fixes #3717)
Change UnretainedWrapper traits from MayNotDangle (default) to MayDangleUntriaged as a short-term fix.
This commit is contained in:
parent
0c339dfc41
commit
b59a20ac7f
|
@ -614,8 +614,8 @@ class InterceptedRequestHandlerWrapper : public InterceptedRequestHandler {
|
||||||
&InterceptedRequestHandlerWrapper::AllowCookieAlways);
|
&InterceptedRequestHandlerWrapper::AllowCookieAlways);
|
||||||
auto done_cookie_callback = base::BindOnce(
|
auto done_cookie_callback = base::BindOnce(
|
||||||
&InterceptedRequestHandlerWrapper::ContinueWithLoadedCookies,
|
&InterceptedRequestHandlerWrapper::ContinueWithLoadedCookies,
|
||||||
weak_ptr_factory_.GetWeakPtr(), request_id, request,
|
weak_ptr_factory_.GetWeakPtr(), request_id,
|
||||||
std::move(callback));
|
base::UnsafeDanglingUntriaged(request), std::move(callback));
|
||||||
cookie_helper::LoadCookies(init_state_->browser_context_getter_, *request,
|
cookie_helper::LoadCookies(init_state_->browser_context_getter_, *request,
|
||||||
allow_cookie_callback,
|
allow_cookie_callback,
|
||||||
std::move(done_cookie_callback));
|
std::move(done_cookie_callback));
|
||||||
|
|
Loading…
Reference in New Issue