mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00

In nsDocShell::LoadHistoryEntry method, when it gets called from parent process, there are 13 sync IPC calls on nsISHEntry that retrieve information from the session history entry and create a doc shell load state object using the retrieved information. By adding a new method 'CreateLoadInfo'on nsISHEntry, inside of which the doc shell load state object will be created (with appropriate data filled out) and returned, we eliminate 12 sync IPC call, resulting in just 1 IPC call to nsISHEntry::CreateLoadInfo. Differential Revision: https://phabricator.services.mozilla.com/D26042 --HG-- extra : rebase_source : a4e1fa52932fd5caabb59bd133e9fbee7f4d0e4a extra : amend_source : f4d9f01afac0337808ba347eb997ce83e6ae1488 extra : source : 6ad53b35c7b4be933a3db1e1d45fa3da8a57abad extra : histedit_source : c08d0cebcc11a3a4f64d01566cb62d9a334a12ec