| Index: net/http/http_stream_factory_impl_unittest.cc
|
| diff --git a/net/http/http_stream_factory_impl_unittest.cc b/net/http/http_stream_factory_impl_unittest.cc
|
| index 2dd3264dcfe9f0ecfef84cd9abdc7800c4b4de49..572be8c94f68bdd9853e20bf0f3556430846f22c 100644
|
| --- a/net/http/http_stream_factory_impl_unittest.cc
|
| +++ b/net/http/http_stream_factory_impl_unittest.cc
|
| @@ -142,7 +142,7 @@ class MockHttpStreamFactoryImplForPreconnect : public HttpStreamFactoryImpl {
|
| void WaitForPreconnects() {
|
| while (!preconnect_done_) {
|
| waiting_for_preconnect_ = true;
|
| - base::MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
| waiting_for_preconnect_ = false;
|
| }
|
| }
|
| @@ -233,7 +233,7 @@ class StreamRequestWaiter : public HttpStreamRequest::Delegate {
|
| void WaitForStream() {
|
| while (!stream_done_) {
|
| waiting_for_stream_ = true;
|
| - base::MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
| waiting_for_stream_ = false;
|
| }
|
| }
|
|
|