| Index: content/child/blink_platform_impl.cc
|
| diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
|
| index 23bf269496052086f72c4761423a84126a508784..5ddbe0e9dc4b2811e93e0156a3f127ec5e4b2915 100644
|
| --- a/content/child/blink_platform_impl.cc
|
| +++ b/content/child/blink_platform_impl.cc
|
| @@ -38,7 +38,6 @@
|
| #include "content/app/resources/grit/content_resources.h"
|
| #include "content/app/strings/grit/content_strings.h"
|
| #include "content/child/background_sync/background_sync_provider.h"
|
| -#include "content/child/background_sync/background_sync_provider_thread_proxy.h"
|
| #include "content/child/child_thread_impl.h"
|
| #include "content/child/content_child_helpers.h"
|
| #include "content/child/geofencing/web_geofencing_provider_impl.h"
|
| @@ -459,8 +458,6 @@ void BlinkPlatformImpl::InternalInit() {
|
| push_dispatcher_ = ChildThreadImpl::current()->push_dispatcher();
|
| permission_client_.reset(new PermissionDispatcher(
|
| ChildThreadImpl::current()->service_registry()));
|
| - sync_provider_.reset(new BackgroundSyncProvider(
|
| - ChildThreadImpl::current()->service_registry()));
|
| }
|
| }
|
|
|
| @@ -1213,14 +1210,8 @@ blink::WebPermissionClient* BlinkPlatformImpl::permissionClient() {
|
| }
|
|
|
| blink::WebSyncProvider* BlinkPlatformImpl::backgroundSyncProvider() {
|
| - if (!sync_provider_.get())
|
| - return nullptr;
|
| -
|
| - if (IsMainThread())
|
| - return sync_provider_.get();
|
| -
|
| - return BackgroundSyncProviderThreadProxy::GetThreadInstance(
|
| - main_thread_task_runner_.get(), sync_provider_.get());
|
| + return BackgroundSyncProvider::GetThreadInstance(
|
| + main_thread_task_runner_.get());
|
| }
|
|
|
| WebThemeEngine* BlinkPlatformImpl::themeEngine() {
|
|
|