Index: Source/modules/filesystem/DOMWindowFileSystem.cpp |
diff --git a/Source/modules/filesystem/DOMWindowFileSystem.cpp b/Source/modules/filesystem/DOMWindowFileSystem.cpp |
index 0cb81c4c00b95499efef6319bcd5f19fcf5d2bc5..45ede54b955aa2bc0bcbb7bd11fbad5837da585f 100644 |
--- a/Source/modules/filesystem/DOMWindowFileSystem.cpp |
+++ b/Source/modules/filesystem/DOMWindowFileSystem.cpp |
@@ -87,14 +87,12 @@ void DOMWindowFileSystem::webkitResolveLocalFileSystemURL(DOMWindow* window, con |
return; |
} |
- FileSystemType type; |
- String filePath; |
- if (!completedURL.isValid() || !DOMFileSystemBase::crackFileSystemURL(completedURL, type, filePath)) { |
+ if (!completedURL.isValid()) { |
DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::ENCODING_ERR)); |
return; |
} |
- LocalFileSystem::from(document)->readFileSystem(document, type, ResolveURICallbacks::create(successCallback, errorCallback, document, type, filePath)); |
+ LocalFileSystem::from(document)->resolveURL(document, completedURL, ResolveURICallbacks::create(successCallback, errorCallback, document)); |
} |
COMPILE_ASSERT(static_cast<int>(DOMWindowFileSystem::TEMPORARY) == static_cast<int>(FileSystemTypeTemporary), enum_mismatch); |