Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(841)

Unified Diff: webrtc/modules/video_render/android/video_render_android_impl.h

Issue 1738863002: Replace scoped_ptr with unique_ptr in webrtc/modules/video_*/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@up4
Patch Set: rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « webrtc/modules/video_processing/video_denoiser.h ('k') | webrtc/modules/video_render/ios/video_render_ios_gles20.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698