Index: webrtc/modules/video_render/windows/video_render_direct3d9.h |
diff --git a/webrtc/modules/video_render/windows/video_render_direct3d9.h b/webrtc/modules/video_render/windows/video_render_direct3d9.h |
index 5a1f2079341a02de7566831e185f4eddd26cd169..eaa8c147e2e709268ea2e7db40d420cc33139124 100644 |
--- a/webrtc/modules/video_render/windows/video_render_direct3d9.h |
+++ b/webrtc/modules/video_render/windows/video_render_direct3d9.h |
@@ -11,6 +11,8 @@ |
#ifndef WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_WINDOWS_VIDEO_RENDER_DIRECT3D9_H_ |
#define WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_WINDOWS_VIDEO_RENDER_DIRECT3D9_H_ |
+#include <memory> |
+ |
#include "webrtc/modules/video_render/windows/i_video_render_win.h" |
#include <d3d9.h> |
@@ -203,8 +205,8 @@ private: |
CriticalSectionWrapper& _refD3DCritsect; |
Trace* _trace; |
- // 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; |
HWND _hWnd; |