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

Unified Diff: content/browser/geofencing/geofencing_service.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/geofencing/geofencing_service.cc
diff --git a/content/browser/geofencing/geofencing_service.cc b/content/browser/geofencing/geofencing_service.cc
index 1edb605297cfb74896c3a65037104b1353e4e5b2..9f429d55957c51db7c07fc217ac7b92c2c754ccb 100644
--- a/content/browser/geofencing/geofencing_service.cc
+++ b/content/browser/geofencing/geofencing_service.cc
@@ -4,6 +4,8 @@
#include "content/browser/geofencing/geofencing_service.h"
+#include <utility>
+
#include "base/location.h"
#include "base/memory/singleton.h"
#include "base/single_thread_task_runner.h"
@@ -140,7 +142,7 @@ void GeofencingServiceImpl::UnregisterRegion(
void GeofencingServiceImpl::SetProviderForTesting(
scoped_ptr<GeofencingProvider> provider) {
DCHECK(!provider_.get());
- provider_ = provider.Pass();
+ provider_ = std::move(provider);
}
int GeofencingServiceImpl::RegistrationCountForTesting() {
« no previous file with comments | « content/browser/gamepad/gamepad_service.cc ('k') | content/browser/geolocation/geolocation_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698