Revert "Fix potential dangling PendingRequest::request_ (see #3239)"
This reverts commit 47798d3dbf
.
It doesn't appear to have fixed the issue (see #3717).
This commit is contained in:
parent
ecbe1244cb
commit
64eb12c9c4
|
@ -140,11 +140,10 @@ class InterceptedRequestHandlerWrapper : public InterceptedRequestHandler {
|
|||
void Run(InterceptedRequestHandlerWrapper* self) {
|
||||
self->OnBeforeRequest(id_, request_, request_was_redirected_,
|
||||
std::move(callback_), std::move(cancel_callback_));
|
||||
request_ = nullptr;
|
||||
}
|
||||
|
||||
const int32_t id_;
|
||||
raw_ptr<network::ResourceRequest> request_;
|
||||
const raw_ptr<network::ResourceRequest> request_;
|
||||
const bool request_was_redirected_;
|
||||
OnBeforeRequestResultCallback callback_;
|
||||
CancelRequestCallback cancel_callback_;
|
||||
|
|
Loading…
Reference in New Issue