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 a7f1e4681be5dfbd1273e9284cb7318c6d0b1c47..64db79806a1437d6e852f0c3fd97b27004e0c7ce 100644 |
--- a/content/browser/background_sync/background_sync_service_impl_unittest.cc |
+++ b/content/browser/background_sync/background_sync_service_impl_unittest.cc |
@@ -51,9 +51,9 @@ |
void FindServiceWorkerRegistrationCallback( |
scoped_refptr<ServiceWorkerRegistration>* out_registration, |
ServiceWorkerStatusCode status, |
- scoped_refptr<ServiceWorkerRegistration> registration) { |
+ const scoped_refptr<ServiceWorkerRegistration>& registration) { |
EXPECT_EQ(SERVICE_WORKER_OK, status) << ServiceWorkerStatusToString(status); |
- *out_registration = std::move(registration); |
+ *out_registration = registration; |
} |
// Callbacks from BackgroundSyncServiceImpl methods |