Index: webkit/fileapi/file_system_directory_database.cc |
diff --git a/webkit/fileapi/file_system_directory_database.cc b/webkit/fileapi/file_system_directory_database.cc |
index efab27bbe1f0ca8157458e9a30a0330193a156d2..44141f76d7ea10eead682b503d8debb883b0a05c 100644 |
--- a/webkit/fileapi/file_system_directory_database.cc |
+++ b/webkit/fileapi/file_system_directory_database.cc |
@@ -13,6 +13,7 @@ |
#include "base/sys_string_conversions.h" |
#include "third_party/leveldatabase/src/include/leveldb/iterator.h" |
#include "third_party/leveldatabase/src/include/leveldb/write_batch.h" |
+#include "webkit/fileapi/file_system_util.h" |
namespace { |
@@ -152,7 +153,7 @@ bool FileSystemDirectoryDatabase::GetChildWithName( |
bool FileSystemDirectoryDatabase::GetFileWithPath( |
const FilePath& path, FileId* file_id) { |
std::vector<FilePath::StringType> components; |
- path.GetComponents(&components); |
+ VirtualPath::GetComponents(path, &components); |
FileId local_id = 0; |
std::vector<FilePath::StringType>::iterator iter; |
for (iter = components.begin(); iter != components.end(); ++iter) { |