| Index: sql/test/test_helpers.cc
|
| diff --git a/sql/test/test_helpers.cc b/sql/test/test_helpers.cc
|
| index fb055cff706d1a972445eb0de984fa3ec13dd80c..2952821c2a60146bee1b18a27a433390b047e826 100644
|
| --- a/sql/test/test_helpers.cc
|
| +++ b/sql/test/test_helpers.cc
|
| @@ -7,6 +7,7 @@
|
| #include <string>
|
|
|
| #include "base/file_util.h"
|
| +#include "base/files/scoped_file.h"
|
| #include "sql/connection.h"
|
| #include "sql/statement.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -75,7 +76,7 @@ bool CorruptSizeInHeader(const base::FilePath& db_path) {
|
|
|
| unsigned char header[kHeaderSize];
|
|
|
| - file_util::ScopedFILE file(base::OpenFile(db_path, "rb+"));
|
| + base::ScopedFILE file(base::OpenFile(db_path, "rb+"));
|
| if (!file.get())
|
| return false;
|
|
|
| @@ -128,7 +129,7 @@ bool CorruptTableOrIndex(const base::FilePath& db_path,
|
| scoped_ptr<char[]> page_buf(new char[page_size]);
|
|
|
| // Get the page into page_buf.
|
| - file_util::ScopedFILE file(base::OpenFile(db_path, "rb+"));
|
| + base::ScopedFILE file(base::OpenFile(db_path, "rb+"));
|
| if (!file.get())
|
| return false;
|
| if (0 != fseek(file.get(), page_ofs, SEEK_SET))
|
|
|