Move ThreadWrapper to ProcessThread in base.
Also removes all virtual methods. Permits using a thread from rtc_base_approved (namely event tracing). BUG=webrtc:5158 R=tommi@webrtc.org Review URL: https://codereview.webrtc.org/1469013002 Cr-Commit-Position: refs/heads/master@{#10760}
This commit is contained in:
@ -32,7 +32,7 @@ class Trace;
|
||||
|
||||
namespace webrtc {
|
||||
class EventTimerWrapper;
|
||||
class ThreadWrapper;
|
||||
class PlatformThread;
|
||||
class VideoRenderNSOpenGL;
|
||||
class CriticalSectionWrapper;
|
||||
|
||||
@ -166,7 +166,7 @@ private: // variables
|
||||
bool _fullScreen;
|
||||
int _id;
|
||||
CriticalSectionWrapper& _nsglContextCritSec;
|
||||
rtc::scoped_ptr<ThreadWrapper> _screenUpdateThread;
|
||||
rtc::scoped_ptr<PlatformThread> _screenUpdateThread;
|
||||
EventTimerWrapper* _screenUpdateEvent;
|
||||
NSOpenGLContext* _nsglContext;
|
||||
NSOpenGLContext* _nsglFullScreenContext;
|
||||
|
||||
Reference in New Issue
Block a user