DescriptionChange WebRTCInternals::GetInstance() to use a leaky LazyInstance.
WebRTCInternals uses NotificationRegistrar which must be deleted on the UI thread. In cases where the UI thread is not the same as the main thread (like in Chromium Embedded Framework) the destruction of WebRTCInternals via AtExitManager at shutdown will cause a CalledOnValidThread() check failure. There's no particular reason why the object needs to be deleted at shutdown so just leak it instead.
BUG=none
TEST=none
Committed: https://crrev.com/8ad274252338620049d06e533ba6a671c7847825
Cr-Commit-Position: refs/heads/master@{#295751}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Change WebRTCInternals::GetInstance to use LazyInstance. #
Messages
Total messages: 16 (4 generated)
|