[net/predictor] Remove unsafe usage of WeakPtrFactory
The post task to delete the predictor on the IO thread comes from the profile destruction. Thus, callers into the predictor on the UI thread with *valid* profiles are guaranteed to have their IO thread tasks queued before the predictor is torn down on the IO thread. This means we can safely use base::Unretained in place of weak pointers in these cases. BUG=671970 Review-Url: https://codereview.chromium.org/2559323008 Cr-Commit-Position: refs/heads/master@{#437704}
Showing
Please register or sign in to comment