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

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: fix test on Win 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
« no previous file with comments | « webkit/fileapi/mount_points.h ('k') | webkit/fileapi/syncable/canned_syncable_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 aaf3d4394ff23bffb1229e3ae75d827b8989a9d7..3f71d48c34c0db91fed2114c693fc5ffc8fef4d1 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->CreateCrackedFileSystemURL(
+ origin_url, type, FilePath());
scoped_ptr<FileSystemFileUtil::AbstractFileEnumerator> enumerator(
sandbox_file_util_->CreateFileEnumerator(&context, url, true));
« no previous file with comments | « webkit/fileapi/mount_points.h ('k') | webkit/fileapi/syncable/canned_syncable_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698