Index: webrtc/modules/video_render/android/video_render_android_impl.h |
diff --git a/webrtc/modules/video_render/android/video_render_android_impl.h b/webrtc/modules/video_render/android/video_render_android_impl.h |
index e5b7de4643de5c26349396afc065aafec37cba76..06fd7a1c7cdf05b139988298e0db4c4896a9191f 100644 |
--- a/webrtc/modules/video_render/android/video_render_android_impl.h |
+++ b/webrtc/modules/video_render/android/video_render_android_impl.h |
@@ -14,6 +14,7 @@ |
#include <jni.h> |
#include <map> |
+#include <memory> |
#include "webrtc/base/platform_thread.h" |
#include "webrtc/modules/video_render/i_video_render.h" |
@@ -144,8 +145,8 @@ class VideoRenderAndroid: IVideoRender { |
EventWrapper& _javaRenderEvent; |
int64_t _lastJavaRenderEvent; |
JNIEnv* _javaRenderJniEnv; // JNIEnv for the java render thread. |
- // TODO(pbos): Remove scoped_ptr and use the member directly. |
- rtc::scoped_ptr<rtc::PlatformThread> _javaRenderThread; |
+ // TODO(pbos): Remove unique_ptr and use the member directly. |
+ std::unique_ptr<rtc::PlatformThread> _javaRenderThread; |
}; |
} // namespace webrtc |