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

Unified Diff: webkit/fileapi/isolated_file_util.cc

Issue 10535072: IsolatedFileUtil::IsDirectoryEmpty needs filesystem_id (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/isolated_file_util.cc
diff --git a/webkit/fileapi/isolated_file_util.cc b/webkit/fileapi/isolated_file_util.cc
index 2dcbd14c23aee24ca327e0c1360e4ac1cfef2f8a..2fee166ab8f5e61940112a1ee07cfcd0b08c7b30 100644
--- a/webkit/fileapi/isolated_file_util.cc
+++ b/webkit/fileapi/isolated_file_util.cc
@@ -319,7 +319,9 @@ bool IsolatedFileUtil::IsDirectoryEmpty(
const FileSystemPath& path) {
std::string filesystem_id;
FilePath platform_path;
- if (!GetPlatformPath(path, &platform_path))
+ if (!IsolatedContext::GetInstance()->CrackIsolatedPath(
+ path.internal_path(), &filesystem_id,
+ NULL, &platform_path))
return false;
if (platform_path.empty()) {
// The root directory case.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698