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

Unified Diff: base/test/test_support_ios.mm

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 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 | « base/test/test_support_android.cc ('k') | base/test/trace_event_analyzer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_support_ios.mm
diff --git a/base/test/test_support_ios.mm b/base/test/test_support_ios.mm
index 9e8261200c23d02374f8df5ddf0c1f1c7257d93d..bf4bd2654fab747a6436d725b0178c33016b9547 100644
--- a/base/test/test_support_ios.mm
+++ b/base/test/test_support_ios.mm
@@ -179,9 +179,9 @@ static char** g_argv;
namespace {
-scoped_ptr<base::MessagePump> CreateMessagePumpForUIForTests() {
+std::unique_ptr<base::MessagePump> CreateMessagePumpForUIForTests() {
// A default MessagePump will do quite nicely in tests.
- return scoped_ptr<base::MessagePump>(new base::MessagePumpDefault());
+ return std::unique_ptr<base::MessagePump>(new base::MessagePumpDefault());
}
} // namespace
« no previous file with comments | « base/test/test_support_android.cc ('k') | base/test/trace_event_analyzer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698