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

Unified Diff: device/geolocation/location_arbitrator_impl.cc

Issue 2254833003: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 | « device/geolocation/geolocation_provider_impl.cc ('k') | device/test/usb_test_gadget_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/location_arbitrator_impl.cc
diff --git a/device/geolocation/location_arbitrator_impl.cc b/device/geolocation/location_arbitrator_impl.cc
index a61a4a3ab22a867fba5d272f7d9961b12776bf23..728448da651df4a43ca3afbfa9cc6d15af3351c3 100644
--- a/device/geolocation/location_arbitrator_impl.cc
+++ b/device/geolocation/location_arbitrator_impl.cc
@@ -160,8 +160,8 @@ LocationArbitratorImpl::NewNetworkLocationProvider(
// Android uses its own SystemLocationProvider.
return nullptr;
#else
- return base::WrapUnique(new NetworkLocationProvider(
- access_token_store, context, url, access_token));
+ return base::MakeUnique<NetworkLocationProvider>(access_token_store, context,
+ url, access_token);
#endif
}
« no previous file with comments | « device/geolocation/geolocation_provider_impl.cc ('k') | device/test/usb_test_gadget_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698