Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1557)

Unified Diff: webkit/fileapi/file_system_directory_database.cc

Issue 9370045: Fixed bug: we can now handle "a:b" as a file name. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/fileapi/file_system_operation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « no previous file | webkit/fileapi/file_system_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698