Index: extensions/browser/api/networking_private/networking_private_service_client.cc |
diff --git a/extensions/browser/api/networking_private/networking_private_service_client.cc b/extensions/browser/api/networking_private/networking_private_service_client.cc |
index 8e8522066aa4af245a96e0f88693e10dfe6140d4..a59de449c7173fc50456f650c4235636fce38c85 100644 |
--- a/extensions/browser/api/networking_private/networking_private_service_client.cc |
+++ b/extensions/browser/api/networking_private/networking_private_service_client.cc |
@@ -7,6 +7,7 @@ |
#include "base/base64.h" |
#include "base/bind.h" |
#include "base/sequenced_task_runner.h" |
+#include "base/thread_task_runner_handle.h" |
#include "base/threading/worker_pool.h" |
#include "components/onc/onc_constants.h" |
#include "content/public/browser/browser_thread.h" |
@@ -56,7 +57,7 @@ NetworkingPrivateServiceClient::NetworkingPrivateServiceClient( |
base::Bind( |
&WiFiService::SetEventObservers, |
base::Unretained(wifi_service_.get()), |
- base::MessageLoopProxy::current(), |
+ base::ThreadTaskRunnerHandle::Get(), |
base::Bind( |
&NetworkingPrivateServiceClient::OnNetworksChangedEventOnUIThread, |
weak_factory_.GetWeakPtr()), |