| Index: chrome/common/local_discovery/local_domain_resolver_unittest.cc
|
| diff --git a/chrome/common/local_discovery/local_domain_resolver_unittest.cc b/chrome/common/local_discovery/local_domain_resolver_unittest.cc
|
| index 2a612833dfd8177f31c31094e526e1d5a85fa323..f55783e8e4aae257e81d00e240b9d07c5e5fcf79 100644
|
| --- a/chrome/common/local_discovery/local_domain_resolver_unittest.cc
|
| +++ b/chrome/common/local_discovery/local_domain_resolver_unittest.cc
|
| @@ -2,6 +2,9 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "base/location.h"
|
| +#include "base/single_thread_task_runner.h"
|
| +#include "base/thread_task_runner_handle.h"
|
| #include "chrome/common/local_discovery/service_discovery_client_impl.h"
|
| #include "net/dns/mdns_client_impl.h"
|
| #include "net/dns/mock_mdns_socket_factory.h"
|
| @@ -81,7 +84,7 @@ class LocalDomainResolverTest : public testing::Test {
|
| base::CancelableCallback<void()> callback(base::Bind(
|
| &base::MessageLoop::Quit,
|
| base::Unretained(base::MessageLoop::current())));
|
| - base::MessageLoop::current()->PostDelayedTask(
|
| + base::ThreadTaskRunnerHandle::Get()->PostDelayedTask(
|
| FROM_HERE, callback.callback(), time_period);
|
|
|
| base::MessageLoop::current()->Run();
|
|
|