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

Unified Diff: webrtc/call/bitrate_allocator_unittest.cc

Issue 1789903003: Replace scoped_ptr with unique_ptr in webrtc/call/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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/call/bitrate_allocator_unittest.cc
diff --git a/webrtc/call/bitrate_allocator_unittest.cc b/webrtc/call/bitrate_allocator_unittest.cc
index fc4f1702bb3949e17738921ec96aae4b198dbc0c..6e0cdd4d781e8b1f747f929e5a775fec3499ea13 100644
--- a/webrtc/call/bitrate_allocator_unittest.cc
+++ b/webrtc/call/bitrate_allocator_unittest.cc
@@ -9,6 +9,7 @@
*/
#include <algorithm>
+#include <memory>
#include <vector>
#include "testing/gtest/include/gtest/gtest.h"
@@ -41,7 +42,7 @@ class BitrateAllocatorTest : public ::testing::Test {
}
~BitrateAllocatorTest() {}
- rtc::scoped_ptr<BitrateAllocator> allocator_;
+ std::unique_ptr<BitrateAllocator> allocator_;
};
TEST_F(BitrateAllocatorTest, UpdatingBitrateObserver) {
@@ -105,7 +106,7 @@ class BitrateAllocatorTestNoEnforceMin : public ::testing::Test {
}
~BitrateAllocatorTestNoEnforceMin() {}
- rtc::scoped_ptr<BitrateAllocator> allocator_;
+ std::unique_ptr<BitrateAllocator> allocator_;
};
// The following three tests verify that the EnforceMinBitrate() method works

Powered by Google App Engine
This is Rietveld 408576698