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

Unified Diff: webkit/fileapi/file_system_mount_point_provider_unittest.cc

Issue 11787028: New FileSystemURL cracking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 11 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
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();

Powered by Google App Engine
This is Rietveld 408576698