| Index: sql/test/test_helpers.cc
|
| diff --git a/sql/test/test_helpers.cc b/sql/test/test_helpers.cc
|
| index 0e32164acdc782ca32927ee20c438a1ffbaa3387..20e2316ba6f4f690e880d3f50bcb02c2ab8ebd0f 100644
|
| --- a/sql/test/test_helpers.cc
|
| +++ b/sql/test/test_helpers.cc
|
| @@ -12,6 +12,7 @@
|
|
|
| #include "base/files/file_util.h"
|
| #include "base/files/scoped_file.h"
|
| +#include "base/threading/thread_restrictions.h"
|
| #include "sql/connection.h"
|
| #include "sql/statement.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -100,6 +101,7 @@ bool CorruptSizeInHeader(const base::FilePath& db_path) {
|
| }
|
|
|
| bool CorruptSizeInHeaderWithLock(const base::FilePath& db_path) {
|
| + base::ThreadRestrictions::ScopedAllowIO allow_io;
|
| sql::Connection db;
|
| if (!db.Open(db_path))
|
| return false;
|
|
|