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

Unified Diff: content/child/service_worker/web_service_worker_registration_impl.cc

Issue 1544293002: Convert Pass()→std::move() in //content (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/child/service_worker/web_service_worker_registration_impl.cc
diff --git a/content/child/service_worker/web_service_worker_registration_impl.cc b/content/child/service_worker/web_service_worker_registration_impl.cc
index a33739fd7fb160d9cce29f46bd313ebcb72da8cb..a753de4284881a63b98bc0096551c159a9acf110 100644
--- a/content/child/service_worker/web_service_worker_registration_impl.cc
+++ b/content/child/service_worker/web_service_worker_registration_impl.cc
@@ -4,6 +4,8 @@
#include "content/child/service_worker/web_service_worker_registration_impl.h"
+#include <utility>
+
#include "base/macros.h"
#include "content/child/service_worker/service_worker_dispatcher.h"
#include "content/child/service_worker/service_worker_registration_handle_reference.h"
@@ -44,7 +46,7 @@ WebServiceWorkerRegistrationImpl::QueuedTask::~QueuedTask() {}
WebServiceWorkerRegistrationImpl::WebServiceWorkerRegistrationImpl(
scoped_ptr<ServiceWorkerRegistrationHandleReference> handle_ref)
- : handle_ref_(handle_ref.Pass()), proxy_(nullptr) {
+ : handle_ref_(std::move(handle_ref)), proxy_(nullptr) {
DCHECK(handle_ref_);
DCHECK_NE(kInvalidServiceWorkerRegistrationHandleId,
handle_ref_->handle_id());
« no previous file with comments | « content/child/service_worker/web_service_worker_impl.cc ('k') | content/child/shared_memory_data_consumer_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698