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

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: no-media 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/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 54260873328ec5c54bbea7d39f8c42dd4d586d52..832395a29fe1b32faff2df56a81a52ebb709bcb4 100644
--- a/content/child/service_worker/service_worker_dispatcher.cc
+++ b/content/child/service_worker/service_worker_dispatcher.cc
@@ -300,7 +300,7 @@ ServiceWorkerDispatcher::GetOrCreateRegistration(
registration->SetActive(
GetOrCreateServiceWorker(ServiceWorkerHandleReference::Create(
attrs.active, thread_safe_sender_.get())));
- return registration.Pass();
+ return registration;
}
scoped_refptr<WebServiceWorkerRegistrationImpl>
@@ -325,7 +325,7 @@ ServiceWorkerDispatcher::GetOrAdoptRegistration(
registration->SetInstalling(GetOrCreateServiceWorker(installing_ref.Pass()));
registration->SetWaiting(GetOrCreateServiceWorker(waiting_ref.Pass()));
registration->SetActive(GetOrCreateServiceWorker(active_ref.Pass()));
- return registration.Pass();
+ return registration;
}
void ServiceWorkerDispatcher::OnAssociateRegistration(

Powered by Google App Engine
This is Rietveld 408576698