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

Unified Diff: chromeos/dbus/services/proxy_resolution_service_provider_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 | « chromeos/dbus/dbus_thread_manager.cc ('k') | chromeos/network/network_state_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/services/proxy_resolution_service_provider_unittest.cc
diff --git a/chromeos/dbus/services/proxy_resolution_service_provider_unittest.cc b/chromeos/dbus/services/proxy_resolution_service_provider_unittest.cc
index 77c5ef5fbb53e4ca40b37659cce5950c46728321..26337652f40056ec76d01395aa4793bb1f39a583 100644
--- a/chromeos/dbus/services/proxy_resolution_service_provider_unittest.cc
+++ b/chromeos/dbus/services/proxy_resolution_service_provider_unittest.cc
@@ -53,8 +53,8 @@ class ProxyResolutionServiceProviderTest : public testing::Test {
// Create the proxy resolution service with the mock bus and the mock
// resolver injected.
service_provider_.reset(ProxyResolutionServiceProvider::Create(
- base::WrapUnique(new TestProxyResolverDelegate(
- base::ThreadTaskRunnerHandle::Get()))));
+ base::MakeUnique<TestProxyResolverDelegate>(
+ base::ThreadTaskRunnerHandle::Get())));
test_helper_.SetUp(kResolveNetworkProxy, service_provider_.get());
« no previous file with comments | « chromeos/dbus/dbus_thread_manager.cc ('k') | chromeos/network/network_state_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698