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

Unified Diff: webkit/fileapi/sandbox_mount_point_provider.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/sandbox_mount_point_provider.cc
diff --git a/webkit/fileapi/sandbox_mount_point_provider.cc b/webkit/fileapi/sandbox_mount_point_provider.cc
index 0ed81b493e24e375c226d77c14421e498bff5062..8193994489672750e52d8b117c5bf3b52d421ee8 100644
--- a/webkit/fileapi/sandbox_mount_point_provider.cc
+++ b/webkit/fileapi/sandbox_mount_point_provider.cc
@@ -429,7 +429,8 @@ int64 SandboxMountPointProvider::GetOriginUsageOnFileThread(
FileSystemUsageCache::Delete(usage_file_path);
FileSystemOperationContext context(file_system_context);
- FileSystemURL url(origin_url, type, FilePath());
+ FileSystemURL url = file_system_context->CrackFileSystemURL(
+ FileSystemURL(origin_url, type, FilePath()));
scoped_ptr<FileSystemFileUtil::AbstractFileEnumerator> enumerator(
sandbox_file_util_->CreateFileEnumerator(&context, url, true));

Powered by Google App Engine
This is Rietveld 408576698