| Index: content/public/test/browser_test_base.cc
|
| diff --git a/content/public/test/browser_test_base.cc b/content/public/test/browser_test_base.cc
|
| index 20b2bff184def651157b5dce54163c21fac36ef6..120f6fb243c6fa973619e3bddd368c433dd69957 100644
|
| --- a/content/public/test/browser_test_base.cc
|
| +++ b/content/public/test/browser_test_base.cc
|
| @@ -349,7 +349,7 @@ void BrowserTestBase::ProxyRunTestOnMainThreadLoop() {
|
| SetUpOnMainThread();
|
| bool old_io_allowed_value = false;
|
| if (!disable_io_checks_)
|
| - base::ThreadRestrictions::SetIOAllowed(false);
|
| + old_io_allowed_value = base::ThreadRestrictions::SetIOAllowed(false);
|
| RunTestOnMainThread();
|
| if (!disable_io_checks_)
|
| base::ThreadRestrictions::SetIOAllowed(old_io_allowed_value);
|
|
|