DescriptionFix for a memory corruption.
As identified by http://crbug.com/90867, we sometimes leaked render view hosts by overwriting them in the swapped out map of the render view host manager.
This should not happen (two different hosts with the same instance id) and will eventually be fixed, but in the mean time this CL recovers from that problem and prevent the leak, and also the memory corruptions that were caused by it.
The memory corruption were caused by the fact that the leaked host would not be told when their delegate_ would die and might try to call them post-mortem.
BUG=90867
TEST=RenderViewHostManagerTest.LeakingRenderViewHosts
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98249
Patch Set 1 #
Total comments: 6
Patch Set 2 : '' #Patch Set 3 : '' #
Messages
Total messages: 8 (0 generated)
|