Index: webrtc/modules/video_render/mac/video_render_nsopengl.h |
diff --git a/webrtc/modules/video_render/mac/video_render_nsopengl.h b/webrtc/modules/video_render/mac/video_render_nsopengl.h |
index a888b68a974ad094ee493eb31a99e47cf96f2a5f..457557dad64cb28c4814194ea6f57ee975b32b65 100644 |
--- a/webrtc/modules/video_render/mac/video_render_nsopengl.h |
+++ b/webrtc/modules/video_render/mac/video_render_nsopengl.h |
@@ -21,6 +21,7 @@ |
#include <QuickTime/QuickTime.h> |
#include <list> |
#include <map> |
+#include <memory> |
#include "webrtc/base/thread_annotations.h" |
#include "webrtc/modules/video_render/video_render_defines.h" |
@@ -169,8 +170,8 @@ private: // variables |
bool _fullScreen; |
int _id; |
CriticalSectionWrapper& _nsglContextCritSec; |
- // TODO(pbos): Remove scoped_ptr and use PlatformThread directly. |
- rtc::scoped_ptr<rtc::PlatformThread> _screenUpdateThread; |
+ // TODO(pbos): Remove unique_ptr and use PlatformThread directly. |
+ std::unique_ptr<rtc::PlatformThread> _screenUpdateThread; |
EventTimerWrapper* _screenUpdateEvent; |
NSOpenGLContext* _nsglContext; |
NSOpenGLContext* _nsglFullScreenContext; |