Index: base/test/multiprocess_test.cc |
diff --git a/base/test/multiprocess_test.cc b/base/test/multiprocess_test.cc |
index 9da2433476ed2d2db46e7a755c0ef64a48916bbd..d45e3a8b4b38bcff47429952b24b01f84984e0b8 100644 |
--- a/base/test/multiprocess_test.cc |
+++ b/base/test/multiprocess_test.cc |
@@ -8,6 +8,7 @@ |
#include "base/command_line.h" |
#include "base/files/file_path.h" |
#include "base/files/file_util.h" |
+#include "base/threading/thread_restrictions.h" |
#include "build/build_config.h" |
namespace base { |
@@ -44,6 +45,7 @@ bool TerminateMultiProcessTestChild(const Process& process, |
#endif // !defined(OS_ANDROID) |
CommandLine GetMultiProcessTestChildBaseCommandLine() { |
+ base::ThreadRestrictions::ScopedAllowIO allow_io; |
CommandLine cmd_line = *CommandLine::ForCurrentProcess(); |
cmd_line.SetProgram(MakeAbsoluteFilePath(cmd_line.GetProgram())); |
return cmd_line; |