This code is no longer needed. Early versions of TRS took ownership of the
NavigationController, hence destruction issues. That hasn't been the case for a long time.

One of the problem with early destruction is connected with chrome.sessions api, while we create window - create incognito window - close the first window, TabRestoreService is destroyed, and there is no any possibility to have events on
sessions.onChanged() for the new windows for profiles.

This pr is based on discussion in
https://codereview.chromium.org/1642583002/

R=Delvin@chromium.org,sky@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1667683002

Cr-Commit-Position: refs/heads/master@{#373754}
1 file changed