DescriptionFix JingleThreadWrapper initialization in PNaCl plugin.
Previously JingleThreadWrapper was initialized in the remoting PNaCl
plugin such that JingleThreadWrapper::current() was always returning
NULL. JingleThreadWrapper::current() is used only to implement
rtc::Thread::Send() and until recently Send() wasn't used in the parts
of webrtc used in remoting. Now rtc::StunRequest uses Send(), which
crashes the plugin.
Added JingleThreadWrapper::WrapTaskRunner() that properly initializes
current() and is used in the remoting plugin now.
Also JingleThreadWrapper is no longer passes SocketServer to the
parent as it is no longer necessary.
BUG=451643
Committed: https://crrev.com/8eb15cc4766a09c82d0e4f60739b7675f23d4e60
Cr-Commit-Position: refs/heads/master@{#313213}
Patch Set 1 : #
Total comments: 2
Patch Set 2 : #
Messages
Total messages: 13 (7 generated)
|