| Index: webkit/fileapi/file_system_directory_database_unittest.cc
|
| diff --git a/webkit/fileapi/file_system_directory_database_unittest.cc b/webkit/fileapi/file_system_directory_database_unittest.cc
|
| index 3a47c91c8d0ca286439120e87466bca7cd35964e..96f979c1f87597874e1665b3d83a1459c964e011 100644
|
| --- a/webkit/fileapi/file_system_directory_database_unittest.cc
|
| +++ b/webkit/fileapi/file_system_directory_database_unittest.cc
|
| @@ -30,8 +30,7 @@ class FileSystemDirectoryDatabaseTest : public testing::Test {
|
|
|
| void InitDatabase() {
|
| db_.reset();
|
| - FilePath path = base_.path().AppendASCII("db");
|
| - db_.reset(new FileSystemDirectoryDatabase(path));
|
| + db_.reset(new FileSystemDirectoryDatabase(sandbox_path()));
|
| }
|
|
|
| bool AddFileInfo(FileId parent_id, const FilePath::StringType& name) {
|
| @@ -42,6 +41,10 @@ class FileSystemDirectoryDatabaseTest : public testing::Test {
|
| return db_->AddFileInfo(info, &file_id);
|
| }
|
|
|
| + FilePath sandbox_path() const {
|
| + return base_.path();
|
| + }
|
| +
|
| protected:
|
| // Common temp base for nondestructive uses.
|
| ScopedTempDir base_;
|
|
|