DescriptionInvalidate weak pointer factory in statistics prefs on UI thread.
DataReductionProxyStatisticsPrefs is instantiated on UI thread and then
its ownership is passed to IOThread. This causes weak_factory_ to be
invalidated on a different thread from the one it is created on. This
cl explicitly invalidates it on UI Thread.
BUG=428931
Committed: https://crrev.com/e15038f26f1924d24faebba7e764e40439f14254
Cr-Commit-Position: refs/heads/master@{#302175}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Reorder InvalidateWeakPtrs(). #Patch Set 3 : Remove comment. Sync to head. #Messages
Total messages: 8 (2 generated)
|