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

Unified Diff: webrtc/modules/remote_bitrate_estimator/overuse_detector_unittest.cc

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/overuse_detector_unittest.cc
diff --git a/webrtc/modules/remote_bitrate_estimator/overuse_detector_unittest.cc b/webrtc/modules/remote_bitrate_estimator/overuse_detector_unittest.cc
index 957d69837a40ba1e27975c32267ebbf1df1add48..dabc6551a0d7ddc665f989afce104dad114217f5 100644
--- a/webrtc/modules/remote_bitrate_estimator/overuse_detector_unittest.cc
+++ b/webrtc/modules/remote_bitrate_estimator/overuse_detector_unittest.cc
@@ -13,12 +13,12 @@
#include <algorithm>
#include <cmath>
#include <cstdlib>
+#include <memory>
#include "testing/gtest/include/gtest/gtest.h"
#include "webrtc/base/random.h"
#include "webrtc/base/rate_statistics.h"
-#include "webrtc/base/scoped_ptr.h"
#include "webrtc/common_types.h"
#include "webrtc/modules/remote_bitrate_estimator/inter_arrival.h"
#include "webrtc/modules/remote_bitrate_estimator/overuse_detector.h"
@@ -114,9 +114,9 @@ class OveruseDetectorTest : public ::testing::Test {
int64_t receive_time_ms_;
uint32_t rtp_timestamp_;
OverUseDetectorOptions options_;
- rtc::scoped_ptr<OveruseDetector> overuse_detector_;
- rtc::scoped_ptr<OveruseEstimator> overuse_estimator_;
- rtc::scoped_ptr<InterArrival> inter_arrival_;
+ std::unique_ptr<OveruseDetector> overuse_detector_;
+ std::unique_ptr<OveruseEstimator> overuse_estimator_;
+ std::unique_ptr<InterArrival> inter_arrival_;
Random random_;
};

Powered by Google App Engine
This is Rietveld 408576698