| Index: content/public/test/content_browser_test.cc
|
| diff --git a/content/public/test/content_browser_test.cc b/content/public/test/content_browser_test.cc
|
| index ad300e299eddcb7d9c06152d81e11ede46290e61..876030a6637c70b9d89f4e7cdf2e4b9f0a9589dc 100644
|
| --- a/content/public/test/content_browser_test.cc
|
| +++ b/content/public/test/content_browser_test.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/logging.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/path_service.h"
|
| +#include "base/threading/thread_restrictions.h"
|
| #include "build/build_config.h"
|
| #include "content/public/browser/render_process_host.h"
|
| #include "content/public/common/content_paths.h"
|
| @@ -131,7 +132,9 @@ void ContentBrowserTest::RunTestOnMainThreadLoop() {
|
|
|
| SetUpOnMainThread();
|
|
|
| + bool old_io_allowed_value = base::ThreadRestrictions::SetIOAllowed(false);
|
| RunTestOnMainThread();
|
| + base::ThreadRestrictions::SetIOAllowed(old_io_allowed_value);
|
|
|
| TearDownOnMainThread();
|
| #if defined(OS_MACOSX)
|
|
|