Make ProfileSyncService's WeakPtrFactory the last member
This will ensure that WeakPtrs are invalidated before any other members' destructors are invoked. This is also one of the last classes needing to change to allow us to turn on a Clang check for WeakPtrFactory member order. Please see the bug for more details. BUG=303818 Review URL: https://codereview.chromium.org/795003003 Cr-Commit-Position: refs/heads/master@{#308015}
Showing
This diff is collapsed.
Please register or sign in to comment