| Index: net/test/spawned_test_server/local_test_server.cc
|
| diff --git a/net/test/spawned_test_server/local_test_server.cc b/net/test/spawned_test_server/local_test_server.cc
|
| index 77630b175ae6d2be4fe2335b10d18889280ded1c..6829a85016e8bbf471781bc4addd81f17c570ede 100644
|
| --- a/net/test/spawned_test_server/local_test_server.cc
|
| +++ b/net/test/spawned_test_server/local_test_server.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/logging.h"
|
| #include "base/path_service.h"
|
| #include "base/strings/string_number_conversions.h"
|
| +#include "base/threading/thread_restrictions.h"
|
| #include "base/values.h"
|
| #include "net/base/host_port_pair.h"
|
| #include "net/base/net_errors.h"
|
| @@ -94,6 +95,8 @@ bool LocalTestServer::Start() {
|
| }
|
|
|
| bool LocalTestServer::StartInBackground() {
|
| + base::ThreadRestrictions::ScopedAllowIO allow_io_from_test_code;
|
| +
|
| // Get path to Python server script.
|
| base::FilePath testserver_path;
|
| if (!GetTestServerPath(&testserver_path))
|
|
|