| Index: chromeos/network/host_resolver_impl_chromeos_unittest.cc
|
| diff --git a/chromeos/network/host_resolver_impl_chromeos_unittest.cc b/chromeos/network/host_resolver_impl_chromeos_unittest.cc
|
| index 3b02ac154f85d61c836c6dfdf6abaf32db90d993..176d12274f3b96ea0ac924d2ef21394746d78059 100644
|
| --- a/chromeos/network/host_resolver_impl_chromeos_unittest.cc
|
| +++ b/chromeos/network/host_resolver_impl_chromeos_unittest.cc
|
| @@ -61,14 +61,10 @@ class HostResolverImplChromeOSTest : public testing::Test {
|
| SetDefaultIPConfigs(default_device->path());
|
|
|
| // Create the host resolver from the IO message loop.
|
| - io_message_loop_.PostTask(
|
| + io_message_loop_.task_runner()->PostTask(
|
| FROM_HERE,
|
| base::Bind(&HostResolverImplChromeOSTest::InitializeHostResolver,
|
| base::Unretained(this)));
|
| - io_message_loop_.RunUntilIdle();
|
| -
|
| - // Run the main message loop to create the network observer and initialize
|
| - // the ip address values.
|
| base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| @@ -83,7 +79,7 @@ class HostResolverImplChromeOSTest : public testing::Test {
|
| io_message_loop_.task_runner()->PostTask(
|
| FROM_HERE, base::Bind(&HostResolverImplChromeOSTest::Resolve,
|
| base::Unretained(this), info));
|
| - io_message_loop_.RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| return result_;
|
| }
|
|
|
|
|