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 750059e2c13d2ed057162258077ba4a385b179f5..bbe67d505b2797bf8eb19abbd3ae0c74b28d689b 100644 |
--- a/content/child/background_sync/background_sync_provider.cc |
+++ b/content/child/background_sync/background_sync_provider.cc |
@@ -40,7 +40,6 @@ |
void BackgroundSyncProvider::registerBackgroundSync( |
const blink::WebSyncRegistration* options, |
blink::WebServiceWorkerRegistration* service_worker_registration, |
- bool requested_from_service_worker, |
blink::WebSyncRegistrationCallbacks* callbacks) { |
DCHECK(options); |
DCHECK(service_worker_registration); |
@@ -54,7 +53,7 @@ |
// will wipe its callbacks) before 'this' is deleted. |
GetBackgroundSyncServicePtr()->Register( |
mojo::ConvertTo<SyncRegistrationPtr>(*(optionsPtr.get())), |
- service_worker_registration_id, requested_from_service_worker, |
+ service_worker_registration_id, |
base::Bind(&BackgroundSyncProvider::RegisterCallback, |
base::Unretained(this), base::Passed(callbacksPtr.Pass()))); |
} |