The method is special in that it is called by InspectorController when render process changes right after restore() has been called on all agents. The method makes front-end see the cross process navigation as one that doesn't lead to process change. Instead of having a special method we should send "reset" events from corresponding restore methods.
Created attachment 140491 [details] Patch
Comment on attachment 140491 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=140491&action=review > Source/WebCore/inspector/InspectorResourceAgent.cpp:97 > + mainFrameNavigated(m_pageAgent->mainFrame()->loader()->documentLoader()); I don't think you need this.
Created attachment 141148 [details] Patch for landing
(In reply to comment #2) > (From update of attachment 140491 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=140491&action=review > > > Source/WebCore/inspector/InspectorResourceAgent.cpp:97 > > + mainFrameNavigated(m_pageAgent->mainFrame()->loader()->documentLoader()); > > I don't think you need this. Done.
Committed r116740: <http://trac.webkit.org/changeset/116740>