Index: content/child/background_sync/background_sync_provider.cc |
diff --git a/content/child/background_sync/background_sync_provider.cc b/content/child/background_sync/background_sync_provider.cc |
index 6bb7aa3aef3b5924bf617675186797fe307093a2..174807c7f8a3c4a4054766c3becc01c10ed407fa 100644 |
--- a/content/child/background_sync/background_sync_provider.cc |
+++ b/content/child/background_sync/background_sync_provider.cc |
@@ -131,7 +131,7 @@ void BackgroundSyncProvider::WillStopCurrentWorkerThread() { |
void BackgroundSyncProvider::RegisterCallback( |
std::unique_ptr<blink::WebSyncRegistrationCallbacks> callbacks, |
blink::mojom::BackgroundSyncError error, |
- const blink::mojom::SyncRegistrationPtr& options) { |
+ blink::mojom::SyncRegistrationPtr options) { |
// TODO(iclelland): Determine the correct error message to return in each case |
std::unique_ptr<blink::WebSyncRegistration> result; |
switch (error) { |
@@ -171,7 +171,7 @@ void BackgroundSyncProvider::RegisterCallback( |
void BackgroundSyncProvider::GetRegistrationsCallback( |
std::unique_ptr<blink::WebSyncGetRegistrationsCallbacks> callbacks, |
blink::mojom::BackgroundSyncError error, |
- const mojo::Array<blink::mojom::SyncRegistrationPtr>& registrations) { |
+ mojo::Array<blink::mojom::SyncRegistrationPtr> registrations) { |
// TODO(iclelland): Determine the correct error message to return in each case |
switch (error) { |
case blink::mojom::BackgroundSyncError::NONE: { |