DescriptionMove WeakPtrFactory members to the end in some android code
This forces WeakPtrs to be invalidated before other members' destructors run.
See the bug or the documentation of WeakPtrFactory for more information. I'm
in the process of trying to turn on a clang check for this (see the bug).
BUG=303818
TBR=yfriedman@chromium.org,boliu@chromium.org,tim@chromium.org
Committed: https://crrev.com/2d1046b2ca5c18fa03cfa2f08708bbd3be98dbdb
Cr-Commit-Position: refs/heads/master@{#311716}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|