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

Unified Diff: mojo/system/core_test_base.cc

Issue 613673004: Revert of Revert of Mojo: Convert some scoped_ptr<...>(new ...) to make_scoped_ptr(new ...) in mojo/{embedder,system}. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « mojo/embedder/test_embedder.cc ('k') | mojo/system/raw_channel_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/core_test_base.cc
diff --git a/mojo/system/core_test_base.cc b/mojo/system/core_test_base.cc
index 6fe3a7022a3a8cc8ba80d4e2deaaecdc8e812101..1cae08f0376c4ccab7b61745c1cf4096df15ae1c 100644
--- a/mojo/system/core_test_base.cc
+++ b/mojo/system/core_test_base.cc
@@ -175,8 +175,7 @@
}
void CoreTestBase::SetUp() {
- core_ = new Core(scoped_ptr<embedder::PlatformSupport>(
- new embedder::SimplePlatformSupport()));
+ core_ = new Core(make_scoped_ptr(new embedder::SimplePlatformSupport()));
}
void CoreTestBase::TearDown() {
« no previous file with comments | « mojo/embedder/test_embedder.cc ('k') | mojo/system/raw_channel_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698