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

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

Issue 1545243002: Convert Pass()→std::move() in //content/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/geolocation_provider_impl.cc
diff --git a/content/browser/geolocation/geolocation_provider_impl.cc b/content/browser/geolocation/geolocation_provider_impl.cc
index fc792f24847b2626ea1e13966ac3f9340445291f..60d9efbfc44ca588639dc585387b121fab0d8c50 100644
--- a/content/browser/geolocation/geolocation_provider_impl.cc
+++ b/content/browser/geolocation/geolocation_provider_impl.cc
@@ -37,7 +37,7 @@ GeolocationProviderImpl::AddLocationUpdateCallback(
callback.Run(position_);
}
- return subscription.Pass();
+ return subscription;
}
void GeolocationProviderImpl::UserDidOptIntoLocationServices() {
« no previous file with comments | « content/browser/geofencing/geofencing_service.cc ('k') | content/browser/geolocation/geolocation_service_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698