Index: content/browser/service_worker/service_worker_job_unittest.cc |
diff --git a/content/browser/service_worker/service_worker_job_unittest.cc b/content/browser/service_worker/service_worker_job_unittest.cc |
index d06955f01f65b1356778951a6f0e894523b29eed..14729cbc103eba71f56d6e75e3866988f4e69a80 100644 |
--- a/content/browser/service_worker/service_worker_job_unittest.cc |
+++ b/content/browser/service_worker/service_worker_job_unittest.cc |
@@ -58,10 +58,10 @@ void SaveFoundRegistrationCallback( |
bool* called, |
scoped_refptr<ServiceWorkerRegistration>* registration, |
ServiceWorkerStatusCode status, |
- const scoped_refptr<ServiceWorkerRegistration>& result) { |
+ scoped_refptr<ServiceWorkerRegistration> result) { |
EXPECT_EQ(expected_status, status); |
*called = true; |
- *registration = result; |
+ *registration = std::move(result); |
} |
// Creates a callback which both keeps track of if it's been called, |