Index: content/browser/background_sync/background_sync_manager_unittest.cc |
diff --git a/content/browser/background_sync/background_sync_manager_unittest.cc b/content/browser/background_sync/background_sync_manager_unittest.cc |
index f4acfb7f31d763f2a72a828c1b075314b63acb89..e2b3c56997010ceafe165817f22940af3c437c0c 100644 |
--- a/content/browser/background_sync/background_sync_manager_unittest.cc |
+++ b/content/browser/background_sync/background_sync_manager_unittest.cc |
@@ -66,7 +66,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(registration)
horo
2016/07/25 09:32:01
Done.
|
} |