DescriptionIntroduce base::IsWeakReceiver for base::Bind to support external weak pointers
base::IsWeakReceiver is an injection point for external libraries to
configure a receiver to behave as a weak pointer. Namely, WTF::WeakPtr,
WTF::WeakPersistent and WTF::CrossThreadWeakPersistent in Blink will be
specialize base::IsWeakReceiver, and the callback will be cancelled on
null instances of them.
Committed: https://crrev.com/1ae80b2655df4f23b87776625de2ae8eb0e03df2
Cr-Commit-Position: refs/heads/master@{#399689}
Patch Set 1 #Patch Set 2 : +comment #
Total comments: 6
Patch Set 3 : comment fix. reorder template specializations. use Perfect Forwarding for weak call #
Messages
Total messages: 13 (6 generated)
|