Index: webkit/fileapi/isolated_file_util.cc |
diff --git a/webkit/fileapi/isolated_file_util.cc b/webkit/fileapi/isolated_file_util.cc |
index 2dcbd14c23aee24ca327e0c1360e4ac1cfef2f8a..2fee166ab8f5e61940112a1ee07cfcd0b08c7b30 100644 |
--- a/webkit/fileapi/isolated_file_util.cc |
+++ b/webkit/fileapi/isolated_file_util.cc |
@@ -319,7 +319,9 @@ bool IsolatedFileUtil::IsDirectoryEmpty( |
const FileSystemPath& path) { |
std::string filesystem_id; |
FilePath platform_path; |
- if (!GetPlatformPath(path, &platform_path)) |
+ if (!IsolatedContext::GetInstance()->CrackIsolatedPath( |
+ path.internal_path(), &filesystem_id, |
+ NULL, &platform_path)) |
return false; |
if (platform_path.empty()) { |
// The root directory case. |