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

Unified Diff: webrtc/modules/video_coding/receiver.h

Issue 1721353002: Replace scoped_ptr with unique_ptr in webrtc/modules/video_coding/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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
« no previous file with comments | « webrtc/modules/video_coding/media_optimization.h ('k') | webrtc/modules/video_coding/receiver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/receiver.h
diff --git a/webrtc/modules/video_coding/receiver.h b/webrtc/modules/video_coding/receiver.h
index ff0eef8a6af54b2dff435f68b97e980e25b347ae..7b2149ddce2c16b245261cfc81439860a17421b7 100644
--- a/webrtc/modules/video_coding/receiver.h
+++ b/webrtc/modules/video_coding/receiver.h
@@ -11,6 +11,7 @@
#ifndef WEBRTC_MODULES_VIDEO_CODING_RECEIVER_H_
#define WEBRTC_MODULES_VIDEO_CODING_RECEIVER_H_
+#include <memory>
#include <vector>
#include "webrtc/modules/video_coding/jitter_buffer.h"
@@ -35,8 +36,8 @@ class VCMReceiver {
// that of VCMReceiver itself.
VCMReceiver(VCMTiming* timing,
Clock* clock,
- rtc::scoped_ptr<EventWrapper> receiver_event,
- rtc::scoped_ptr<EventWrapper> jitter_buffer_event);
+ std::unique_ptr<EventWrapper> receiver_event,
+ std::unique_ptr<EventWrapper> jitter_buffer_event);
~VCMReceiver();
@@ -83,7 +84,7 @@ class VCMReceiver {
Clock* const clock_;
VCMJitterBuffer jitter_buffer_;
VCMTiming* timing_;
- rtc::scoped_ptr<EventWrapper> render_wait_event_;
+ std::unique_ptr<EventWrapper> render_wait_event_;
int max_video_delay_ms_;
};
« no previous file with comments | « webrtc/modules/video_coding/media_optimization.h ('k') | webrtc/modules/video_coding/receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698