Index: chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc |
diff --git a/chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc b/chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc |
index 199e51667de465154264dd73892bf71c2b067119..1153f7cc2e4e5457fc4474e117e33140c3b48286 100644 |
--- a/chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc |
+++ b/chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc |
@@ -8,6 +8,7 @@ |
#include "base/environment.h" |
#include "base/files/file_util.h" |
#include "base/path_service.h" |
+#include "base/threading/thread_restrictions.h" |
#include "build/build_config.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/test/ppapi/ppapi_test.h" |
@@ -56,6 +57,7 @@ class NaClGdbTest : public PPAPINaClNewlibTest { |
return; |
} |
#endif |
+ base::ThreadRestrictions::ScopedAllowIO allow_io; |
EXPECT_TRUE(base::CreateTemporaryFile(&mock_nacl_gdb_file)); |
env->SetVar("MOCK_NACL_GDB", mock_nacl_gdb_file.AsUTF8Unsafe()); |
RunTestViaHTTP(test_name); |