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

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

Issue 1477643002: Remove the TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03 macro. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@basepass
Patch Set: type-with-move: . Created 5 years, 1 month 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/service_worker_dispatcher.cc
diff --git a/content/child/service_worker/service_worker_dispatcher.cc b/content/child/service_worker/service_worker_dispatcher.cc
index 8608ed0443095e6fcf25064c9ee7cab0299a03b5..1ef54fa92c7d353a176d0aae87f54eae9d4e3014 100644
--- a/content/child/service_worker/service_worker_dispatcher.cc
+++ b/content/child/service_worker/service_worker_dispatcher.cc
@@ -315,7 +315,7 @@ ServiceWorkerDispatcher::GetOrCreateRegistration(
registration->SetInstalling(GetOrCreateServiceWorker(attrs.installing));
registration->SetWaiting(GetOrCreateServiceWorker(attrs.waiting));
registration->SetActive(GetOrCreateServiceWorker(attrs.active));
- return registration.Pass();
+ return registration;
}
scoped_refptr<WebServiceWorkerRegistrationImpl>
@@ -345,7 +345,7 @@ ServiceWorkerDispatcher::GetOrAdoptRegistration(
registration->SetInstalling(GetOrAdoptServiceWorker(attrs.installing));
registration->SetWaiting(GetOrAdoptServiceWorker(attrs.waiting));
registration->SetActive(GetOrAdoptServiceWorker(attrs.active));
- return registration.Pass();
+ return registration;
}
void ServiceWorkerDispatcher::OnAssociateRegistration(

Powered by Google App Engine
This is Rietveld 408576698