| Index: net/tools/quic/synchronous_host_resolver.cc
|
| diff --git a/net/tools/quic/synchronous_host_resolver.cc b/net/tools/quic/synchronous_host_resolver.cc
|
| index 7d1b5e039e95e9f2d303aecb13197508cd6c910a..7bdf5fd6e256c8b54c8a74812c6a94bab718b395 100644
|
| --- a/net/tools/quic/synchronous_host_resolver.cc
|
| +++ b/net/tools/quic/synchronous_host_resolver.cc
|
| @@ -8,6 +8,7 @@
|
| #include "base/location.h"
|
| #include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
| +#include "base/run_loop.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/threading/simple_thread.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| @@ -74,7 +75,7 @@ void ResolverThread::Run() {
|
| return;
|
|
|
| // Run the mesage loop until OnResolutionComplete quits it.
|
| - base::MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
| }
|
|
|
| int ResolverThread::Resolve(const std::string& host, AddressList* addresses) {
|
|
|