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..b9681c22a26f17aab7b413e7f57ee6fb4b4d4931 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(base_.path())); |
ericu
2012/03/26 18:39:18
Remove the extra reset() call.
tzik
2012/03/27 02:44:18
First reset() call is to avoid multiple database i
ericu
2012/03/29 04:22:19
Sure, thanks for the comment.
|
} |
bool AddFileInfo(FileId parent_id, const FilePath::StringType& name) { |