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

Unified Diff: webrtc/test/rtp_rtcp_observer.h

Issue 1937693002: Replace scoped_ptr with unique_ptr everywhere (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@unique5
Patch Set: Created 4 years, 8 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
« no previous file with comments | « webrtc/test/rtp_file_writer_unittest.cc ('k') | webrtc/test/test_suite.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/rtp_rtcp_observer.h
diff --git a/webrtc/test/rtp_rtcp_observer.h b/webrtc/test/rtp_rtcp_observer.h
index 5eb88d3f0d33ecb7178d165e816ce03c35d2b90c..ab865611673ed1b9e27682229eca181a19dca40f 100644
--- a/webrtc/test/rtp_rtcp_observer.h
+++ b/webrtc/test/rtp_rtcp_observer.h
@@ -11,6 +11,7 @@
#define WEBRTC_TEST_RTP_RTCP_OBSERVER_H_
#include <map>
+#include <memory>
#include <vector>
#include "testing/gtest/include/gtest/gtest.h"
@@ -69,7 +70,7 @@ class RtpRtcpObserver {
}
rtc::Event observation_complete_;
- const rtc::scoped_ptr<RtpHeaderParser> parser_;
+ const std::unique_ptr<RtpHeaderParser> parser_;
private:
const int timeout_ms_;
« no previous file with comments | « webrtc/test/rtp_file_writer_unittest.cc ('k') | webrtc/test/test_suite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698