| Index: content/browser/background_sync/background_sync_network_observer.cc
|
| diff --git a/content/browser/background_sync/background_sync_network_observer.cc b/content/browser/background_sync/background_sync_network_observer.cc
|
| index fafb1e68a1f9e4c3e98c92ba8ebf57651c85ee2d..1c6f2bd98163864f14e98ed2647fdf00a6550117 100644
|
| --- a/content/browser/background_sync/background_sync_network_observer.cc
|
| +++ b/content/browser/background_sync/background_sync_network_observer.cc
|
| @@ -4,6 +4,9 @@
|
|
|
| #include "content/browser/background_sync/background_sync_network_observer.h"
|
|
|
| +#include "base/location.h"
|
| +#include "base/single_thread_task_runner.h"
|
| +#include "base/thread_task_runner_handle.h"
|
| #include "content/public/browser/browser_thread.h"
|
|
|
| namespace content {
|
| @@ -47,7 +50,8 @@ bool BackgroundSyncNetworkObserver::NetworkSufficient(
|
| void BackgroundSyncNetworkObserver::NotifyNetworkChanged() {
|
| DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
|
|
| - base::MessageLoop::current()->PostTask(FROM_HERE, network_changed_callback_);
|
| + base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE,
|
| + network_changed_callback_);
|
| }
|
|
|
| void BackgroundSyncNetworkObserver::OnNetworkChanged(
|
|
|