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

Unified Diff: content/browser/geolocation/location_arbitrator_impl.cc

Issue 2126893003: Geolocation cleanup: make GeolocationDelegate::OverrideSystemLocationProvider return unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wez@ nit Created 4 years, 5 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
Index: content/browser/geolocation/location_arbitrator_impl.cc
diff --git a/content/browser/geolocation/location_arbitrator_impl.cc b/content/browser/geolocation/location_arbitrator_impl.cc
index 372951ef51f23deb91c9be206f73a79cc239ef6c..a5c87eaf76e6187ea7164bd2954da23a04058fae 100644
--- a/content/browser/geolocation/location_arbitrator_impl.cc
+++ b/content/browser/geolocation/location_arbitrator_impl.cc
@@ -123,7 +123,7 @@ void LocationArbitratorImpl::RegisterProvider(
void LocationArbitratorImpl::RegisterSystemProvider() {
std::unique_ptr<LocationProvider> provider =
- base::WrapUnique(delegate_->OverrideSystemLocationProvider());
+ delegate_->OverrideSystemLocationProvider();
if (!provider)
provider = NewSystemLocationProvider();
RegisterProvider(std::move(provider));

Powered by Google App Engine
This is Rietveld 408576698