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

Unified Diff: device/geolocation/geolocation_provider_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/bluetooth/test/bluetooth_test.cc ('k') | device/geolocation/location_arbitrator_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/geolocation_provider_impl.cc
diff --git a/device/geolocation/geolocation_provider_impl.cc b/device/geolocation/geolocation_provider_impl.cc
index 1c025d0614157b201d1264feef9f2f23af0b9148..32221819d3323723c84e0214f6c4ec319f92a8be 100644
--- a/device/geolocation/geolocation_provider_impl.cc
+++ b/device/geolocation/geolocation_provider_impl.cc
@@ -191,8 +191,8 @@ GeolocationProviderImpl::CreateArbitrator() {
if (!g_delegate.Get())
g_delegate.Get().reset(new GeolocationDelegate);
- return base::WrapUnique(
- new LocationArbitratorImpl(callback, g_delegate.Get().get()));
+ return base::MakeUnique<LocationArbitratorImpl>(callback,
+ g_delegate.Get().get());
}
} // namespace device
« no previous file with comments | « device/bluetooth/test/bluetooth_test.cc ('k') | device/geolocation/location_arbitrator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698