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

Unified Diff: base/test/test_support_ios.mm

Issue 185413019: Used scoped_ptr in InitMessagePumpForUIFactory and CreateMessagePumpForType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes in accordance to build fail for linux chromeos Created 6 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
« no previous file with comments | « base/test/test_support_android.cc ('k') | content/shell/browser/shell_layout_tests_android.cc » ('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 338b65a61380294f2c31cb736fc0ba64b33849c5..0d9b0379b9b84ae7871c29d674ce53aa5833861c 100644
--- a/base/test/test_support_ios.mm
+++ b/base/test/test_support_ios.mm
@@ -151,9 +151,9 @@ static char** g_argv;
namespace {
-base::MessagePump* CreateMessagePumpForUIForTests() {
+scoped_ptr<base::MessagePump> CreateMessagePumpForUIForTests() {
// A default MessagePump will do quite nicely in tests.
- return new base::MessagePumpDefault();
+ return scoped_ptr<base::MessagePump>(new base::MessagePumpDefault());
}
} // namespace
« no previous file with comments | « base/test/test_support_android.cc ('k') | content/shell/browser/shell_layout_tests_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698