Chromium Code Reviews
DescriptionFix transferring processes during a redirect.
This change adds a WillCompleteTransfer method on ResourceLoader. The
ResourceLoader uses this signal to reset the ResourceHandler, which causes the
destruction of the old AsyncResourceHandler. That in turn results in clearing
the "async_handler" member of the ResourceRequestInfoImpl.
What was happening before this change is that the destruction of the old
AsyncResourceHandler was happening too late. When it cleared the
"async_handler" member, it was clearing it on the newly constructed
ResourceRequestInfoImpl object. As a result, when the OnFollowRedirect
IPC finally arrives, it finds that the "async_handler" member is null.
R=jam@chromium.org
BUG=136630
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=146416
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Messages
Total messages: 5 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||