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

Unified Diff: base/test/test_support_android.cc

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_suite.cc ('k') | base/test/test_support_ios.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_support_android.cc
diff --git a/base/test/test_support_android.cc b/base/test/test_support_android.cc
index a8cadec9c1fe9d395ddf2b6dbcacde54937060fb..08a2820b800418cbcdbb2649fd58f7e274de7324 100644
--- a/base/test/test_support_android.cc
+++ b/base/test/test_support_android.cc
@@ -127,8 +127,8 @@ class MessagePumpForUIStub : public base::MessagePumpForUI {
}
};
-scoped_ptr<base::MessagePump> CreateMessagePumpForUIStub() {
- return scoped_ptr<base::MessagePump>(new MessagePumpForUIStub());
+std::unique_ptr<base::MessagePump> CreateMessagePumpForUIStub() {
+ return std::unique_ptr<base::MessagePump>(new MessagePumpForUIStub());
};
// Provides the test path for DIR_MODULE and DIR_ANDROID_APP_DATA.
« no previous file with comments | « base/test/test_suite.cc ('k') | base/test/test_support_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698