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

Unified Diff: webrtc/call/rtc_event_log2rtp_dump.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/rtc_event_log2rtp_dump.cc
diff --git a/webrtc/call/rtc_event_log2rtp_dump.cc b/webrtc/call/rtc_event_log2rtp_dump.cc
index 8357d4856a11ca12d0ca281738f6479320c437c6..ef0be9a1b7361d635954dbeb829b3089ec66e26a 100644
--- a/webrtc/call/rtc_event_log2rtp_dump.cc
+++ b/webrtc/call/rtc_event_log2rtp_dump.cc
@@ -9,12 +9,12 @@
*/
#include <iostream>
+#include <memory>
#include <sstream>
#include <string>
#include "gflags/gflags.h"
#include "webrtc/base/checks.h"
-#include "webrtc/base/scoped_ptr.h"
#include "webrtc/call/rtc_event_log.h"
#include "webrtc/modules/rtp_rtcp/source/byte_io.h"
#include "webrtc/test/rtp_file_writer.h"
@@ -100,7 +100,7 @@ int main(int argc, char* argv[]) {
return -1;
}
- rtc::scoped_ptr<webrtc::test::RtpFileWriter> rtp_writer(
+ std::unique_ptr<webrtc::test::RtpFileWriter> rtp_writer(
webrtc::test::RtpFileWriter::Create(
webrtc::test::RtpFileWriter::FileFormat::kRtpDump, output_file));

Powered by Google App Engine
This is Rietveld 408576698