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

Unified Diff: webrtc/modules/remote_bitrate_estimator/test/estimators/nada.h

Issue 1750533002: Replace scoped_ptr with unique_ptr in webrtc/modules/remote_bitrate_estimator/ (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
Index: webrtc/modules/remote_bitrate_estimator/test/estimators/nada.h
diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/nada.h b/webrtc/modules/remote_bitrate_estimator/test/estimators/nada.h
index ab4541672d02045cc33b93a759fdbb5aaab7a74c..37009c77018c1961c4f4543e6683d57639a05d8f 100644
--- a/webrtc/modules/remote_bitrate_estimator/test/estimators/nada.h
+++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/nada.h
@@ -19,6 +19,7 @@
#include <list>
#include <map>
+#include <memory>
#include "webrtc/modules/include/module_common_types.h"
#include "webrtc/modules/remote_bitrate_estimator/test/bwe.h"
@@ -50,7 +51,7 @@ class NadaBweReceiver : public BweReceiver {
private:
SimulatedClock clock_;
int64_t last_feedback_ms_;
- rtc::scoped_ptr<ReceiveStatistics> recv_stats_;
+ std::unique_ptr<ReceiveStatistics> recv_stats_;
int64_t baseline_delay_ms_; // Referred as d_f.
int64_t delay_signal_ms_; // Referred as d_n.
int64_t last_congestion_signal_ms_;

Powered by Google App Engine
This is Rietveld 408576698