DescriptionAdd SwappedOut to TabContentsDelegate to allow us to correctly delete TabContents.
When a page has an unload handler and we swap it out to make way for a Prerendered tab, we expect a call to the TabContentsDelegate when it closes. For cross-site navigations, we don't get that message as the RenderViewHost is swapped instead of closing.
BUG=103966
TEST=Enable prerender from omnibox (and ensure it's not disabled by field trial) and repeatedly navigate between cnn.com and telegraph.co.uk in the Omnibox. Note in the TaskManager that you do not see zombie Tab processes.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110145
Patch Set 1 #
Total comments: 1
Patch Set 2 : Fix linux compile #
Total comments: 3
Messages
Total messages: 14 (0 generated)
|