Index: webkit/fileapi/file_system_mount_point_provider_unittest.cc |
diff --git a/webkit/fileapi/file_system_mount_point_provider_unittest.cc b/webkit/fileapi/file_system_mount_point_provider_unittest.cc |
index 9c925a00a192675b34aa80688162a4455db0ddef..8ef6d3798efa399ce8f6ff7fdbe6c4cec408e3af 100644 |
--- a/webkit/fileapi/file_system_mount_point_provider_unittest.cc |
+++ b/webkit/fileapi/file_system_mount_point_provider_unittest.cc |
@@ -236,9 +236,10 @@ class FileSystemMountPointProviderTest : public testing::Test { |
FilePath virtual_path = FilePath(); |
if (type == kFileSystemTypeExternal) |
virtual_path = FilePath(kVirtualPath); |
+ FileSystemURL url(origin_url, type, virtual_path); |
+ url = file_system_context_->CrackFileSystemURL(url); |
FilePath returned_root_path = |
- provider(type)->GetFileSystemRootPathOnFileThread( |
- FileSystemURL(origin_url, type, virtual_path), create); |
+ provider(type)->GetFileSystemRootPathOnFileThread(url, create); |
if (root_path) |
*root_path = returned_root_path; |
return !returned_root_path.empty(); |