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

Unified Diff: content/browser/geolocation/geolocation_service_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_service_impl.cc
diff --git a/content/browser/geolocation/geolocation_service_impl.cc b/content/browser/geolocation/geolocation_service_impl.cc
index aae95ac01b6bf465564048bee3e7b197d2cc70b8..764ff10abddc3f59d4b3bf35e4f6e817ab57a325 100644
--- a/content/browser/geolocation/geolocation_service_impl.cc
+++ b/content/browser/geolocation/geolocation_service_impl.cc
@@ -4,6 +4,8 @@
#include "content/browser/geolocation/geolocation_service_impl.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/metrics/histogram.h"
#include "content/browser/geolocation/geolocation_service_context.h"
@@ -62,7 +64,7 @@ GeolocationServiceImpl::GeolocationServiceImpl(
mojo::InterfaceRequest<GeolocationService> request,
GeolocationServiceContext* context,
const base::Closure& update_callback)
- : binding_(this, request.Pass()),
+ : binding_(this, std::move(request)),
context_(context),
update_callback_(update_callback),
high_accuracy_(false),
« no previous file with comments | « content/browser/geolocation/geolocation_service_context.cc ('k') | content/browser/geolocation/wifi_data_provider_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698