DescriptionFix WeakPtrFactory member ordering in chrome/browser/sync
Changing the initialization order of WeakPtrFactory such that all
member variables should appear before the WeakPtrFactory to ensure
that any WeakPtrs to Controller are invalidated before its members
variable's destructors are executed, rendering them invalid.
BUG=303818
Committed: https://crrev.com/771fbabbbf5c8fca3f2efb2aeb6885f16c52be98
Cr-Commit-Position: refs/heads/master@{#296005}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|