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

Unified Diff: webrtc/modules/remote_bitrate_estimator/test/packet_sender.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/packet_sender.h
diff --git a/webrtc/modules/remote_bitrate_estimator/test/packet_sender.h b/webrtc/modules/remote_bitrate_estimator/test/packet_sender.h
index f48ed62f579f845a5c2e39e17dc9bc6520327152..5ed4a3bc38048080085cf6a91f623ec8ef909ebe 100644
--- a/webrtc/modules/remote_bitrate_estimator/test/packet_sender.h
+++ b/webrtc/modules/remote_bitrate_estimator/test/packet_sender.h
@@ -13,11 +13,11 @@
#include <list>
#include <limits>
+#include <memory>
#include <set>
#include <string>
#include "webrtc/base/constructormagic.h"
-#include "webrtc/base/scoped_ptr.h"
#include "webrtc/modules/include/module.h"
#include "webrtc/modules/remote_bitrate_estimator/test/bwe.h"
#include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h"
@@ -91,7 +91,7 @@ class VideoSender : public PacketSender, public BitrateObserver {
Packets* generated);
VideoSource* source_;
- rtc::scoped_ptr<BweSender> bwe_;
+ std::unique_ptr<BweSender> bwe_;
int64_t start_of_run_ms_;
std::list<Module*> modules_;

Powered by Google App Engine
This is Rietveld 408576698