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

Unified Diff: webrtc/test/test_suite.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_rtcp_observer.h ('k') | webrtc/test/testsupport/fileutils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/test_suite.h
diff --git a/webrtc/test/test_suite.h b/webrtc/test/test_suite.h
index dab2acd38810c4a34a46d1cc9005dd90f226f6e7..94b11cfbeb1b3a0d75abdc64eead05c2cfcd4410 100644
--- a/webrtc/test/test_suite.h
+++ b/webrtc/test/test_suite.h
@@ -17,6 +17,8 @@
// instantiate this class in your main function and call its Run method to run
// any gtest based tests that are linked into your executable.
+#include <memory>
+
#include "webrtc/base/constructormagic.h"
#include "webrtc/base/scoped_ptr.h"
@@ -41,7 +43,7 @@ class TestSuite {
RTC_DISALLOW_COPY_AND_ASSIGN(TestSuite);
private:
- rtc::scoped_ptr<TraceToStderr> trace_to_stderr_;
+ std::unique_ptr<TraceToStderr> trace_to_stderr_;
};
} // namespace test
« no previous file with comments | « webrtc/test/rtp_rtcp_observer.h ('k') | webrtc/test/testsupport/fileutils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698