Index: net/test/spawned_test_server/local_test_server_win.cc |
diff --git a/net/test/spawned_test_server/local_test_server_win.cc b/net/test/spawned_test_server/local_test_server_win.cc |
index 3e87e997b8432666b3d5c01e6ec44093b2b572bc..6f325e064c080d99bfe07645283ede3208e0fc6a 100644 |
--- a/net/test/spawned_test_server/local_test_server_win.cc |
+++ b/net/test/spawned_test_server/local_test_server_win.cc |
@@ -13,6 +13,7 @@ |
#include "base/files/file_path.h" |
#include "base/message_loop/message_loop.h" |
#include "base/process/launch.h" |
+#include "base/single_thread_task_runner.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/string_util.h" |
#include "base/strings/utf_string_conversions.h" |
@@ -51,7 +52,7 @@ bool ReadData(HANDLE read_fd, |
// Prepare a timeout in case the server fails to start. |
bool unblocked = false; |
- thread.message_loop()->PostDelayedTask( |
+ thread.task_runner()->PostDelayedTask( |
FROM_HERE, base::Bind(UnblockPipe, write_fd, bytes_max, &unblocked), |
TestTimeouts::action_max_timeout()); |