PlzNavigate: improve tracking of improper subframe swap-out.
Upon a FrameTreeNode destruction a speculative RenderFrameHost might be swapped-out instead of being destroyed along with the node. This behavior differs from the current navigation implementation and was causing a leak of a RenderFrameProxyHost. This change adds a CHECK to stop the leak the same way RenderFrameHostManager::SwapOutOldFrame does. BUG=439423 Review URL: https://codereview.chromium.org/1066823004 Cr-Commit-Position: refs/heads/master@{#327044}
Showing
Please register or sign in to comment