 Chromium Code Reviews
 Chromium Code Reviews Issue 2181553003:
  Stop passing const-reference of SWRegistration in all GetRegistrationsCallbacks.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 2181553003:
  Stop passing const-reference of SWRegistration in all GetRegistrationsCallbacks.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| Index: content/browser/background_sync/background_sync_service_impl_unittest.cc | 
| diff --git a/content/browser/background_sync/background_sync_service_impl_unittest.cc b/content/browser/background_sync/background_sync_service_impl_unittest.cc | 
| index 64db79806a1437d6e852f0c3fd97b27004e0c7ce..b3732e892c96c6dccbb56154e9eb99487b152fe5 100644 | 
| --- a/content/browser/background_sync/background_sync_service_impl_unittest.cc | 
| +++ b/content/browser/background_sync/background_sync_service_impl_unittest.cc | 
| @@ -51,7 +51,7 @@ void RegisterServiceWorkerCallback(bool* called, | 
| void FindServiceWorkerRegistrationCallback( | 
| scoped_refptr<ServiceWorkerRegistration>* out_registration, | 
| ServiceWorkerStatusCode status, | 
| - const scoped_refptr<ServiceWorkerRegistration>& registration) { | 
| + scoped_refptr<ServiceWorkerRegistration> registration) { | 
| EXPECT_EQ(SERVICE_WORKER_OK, status) << ServiceWorkerStatusToString(status); | 
| *out_registration = registration; | 
| 
nhiroki
2016/07/25 09:15:40
std::move
 
horo
2016/07/25 09:32:01
Done.
 | 
| } |