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

Unified Diff: webrtc/call/packet_injection_tests.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/packet_injection_tests.cc
diff --git a/webrtc/call/packet_injection_tests.cc b/webrtc/call/packet_injection_tests.cc
index 277cd3e4df21de2041cc273e99fdc1125247e2f3..1d52b884e943658fe1302db005d8c6d270ffcb0c 100644
--- a/webrtc/call/packet_injection_tests.cc
+++ b/webrtc/call/packet_injection_tests.cc
@@ -8,6 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include <memory>
+
#include "testing/gtest/include/gtest/gtest.h"
#include "webrtc/test/call_test.h"
@@ -29,7 +31,7 @@ class PacketInjectionTest : public test::CallTest {
const uint8_t* packet,
size_t length);
- rtc::scoped_ptr<RtpHeaderParser> rtp_header_parser_;
+ std::unique_ptr<RtpHeaderParser> rtp_header_parser_;
};
void PacketInjectionTest::InjectIncorrectPacket(CodecType codec_type,

Powered by Google App Engine
This is Rietveld 408576698