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

Unified Diff: chromeos/binder/service_manager_proxy_unittest.cc

Issue 2255093003: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | chromeos/dbus/dbus_thread_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/binder/service_manager_proxy_unittest.cc
diff --git a/chromeos/binder/service_manager_proxy_unittest.cc b/chromeos/binder/service_manager_proxy_unittest.cc
index 9b7fb3a29799c6228e0e14d0e35f5b1936ec7364..2d71cb243e419043830ab43669d6fed72b4da9f1 100644
--- a/chromeos/binder/service_manager_proxy_unittest.cc
+++ b/chromeos/binder/service_manager_proxy_unittest.cc
@@ -60,7 +60,7 @@ TEST_F(BinderServiceManagerProxyTest, AddAndCheck) {
// Add service.
scoped_refptr<Object> object(
- new LocalObject(base::WrapUnique(new DummyTransactionHandler())));
+ new LocalObject(base::MakeUnique<DummyTransactionHandler>()));
EXPECT_TRUE(ServiceManagerProxy::AddService(&command_broker_, kServiceName,
object, 0));
« no previous file with comments | « no previous file | chromeos/dbus/dbus_thread_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698