DescriptionFix LifeCycleWatcher in ScopedVectorTest to not be referenced after being destructed.
If the LifeCycleObject owned by LifeCycleWatcher still exists at the
time LifeCycleWatcher is destroyed, the LifeCycleObject's destructor
will call LifeCycleWatcher::OnLifeCycleDestroy() after
LifeCycleWatcher's destructor has finished running.
BUG=535321
Committed: https://crrev.com/8723a2c2a90e060006d1b45a6ce58bacf17bb9d8
Cr-Commit-Position: refs/heads/master@{#350683}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 10 (2 generated)
|