| Index: content/renderer/background_sync/background_sync_client_impl.cc
|
| diff --git a/content/renderer/background_sync/background_sync_client_impl.cc b/content/renderer/background_sync/background_sync_client_impl.cc
|
| index 6ecde8fe977986d4f37288e6b7d154f74d510afe..1282e142db605972fa284265f459f10296a66516 100644
|
| --- a/content/renderer/background_sync/background_sync_client_impl.cc
|
| +++ b/content/renderer/background_sync/background_sync_client_impl.cc
|
| @@ -4,7 +4,9 @@
|
|
|
| #include "content/renderer/background_sync/background_sync_client_impl.h"
|
|
|
| +#include "content/child/background_sync/background_sync_type_converters.h"
|
| #include "content/renderer/service_worker/service_worker_context_client.h"
|
| +#include "third_party/WebKit/public/platform/modules/background_sync/WebSyncRegistration.h"
|
|
|
| namespace content {
|
|
|
| @@ -30,7 +32,9 @@ void BackgroundSyncClientImpl::Sync(content::SyncRegistrationPtr registration,
|
| callback.Run(SERVICE_WORKER_EVENT_STATUS_ABORTED);
|
| return;
|
| }
|
| - client->DispatchSyncEvent(callback);
|
| + scoped_ptr<blink::WebSyncRegistration> reg =
|
| + mojo::ConvertTo<scoped_ptr<blink::WebSyncRegistration>>(registration);
|
| + client->DispatchSyncEvent(*reg, callback);
|
| }
|
|
|
| } // namespace content
|
|
|