Fix destruction concurrency issue in PrerenderLocalPredictor:
PrerenderLocalPredictor will now keep around a reference to the HistoryService that it subscribed too, and will unsubscribe itself on destruction. Since PrerenderLocalPredictor is owned by PrerenderManager, and both PrerenderManager and HistoryService have the same lifetime as the underlying profile, the HistoryService object will not be kept around unnecessarily longer as a result of this. R=brettw, cbentzel Review URL: https://chromiumcodereview.appspot.com/10214004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133744 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment