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

Unified Diff: content/browser/fileapi/fileapi_message_filter.cc

Issue 11316265: Quota calculation is wrong in cross-filesystem operation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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: content/browser/fileapi/fileapi_message_filter.cc
diff --git a/content/browser/fileapi/fileapi_message_filter.cc b/content/browser/fileapi/fileapi_message_filter.cc
index e1ac003465e8856647b0ebe31e3c59dd4aae366b..9fff394337c9cdd55efd2bb3e0f67008bb603895 100644
--- a/content/browser/fileapi/fileapi_message_filter.cc
+++ b/content/browser/fileapi/fileapi_message_filter.cc
@@ -236,7 +236,7 @@ void FileAPIMessageFilter::OnMove(
return;
}
- FileSystemOperation* operation = GetNewOperation(src_url, request_id);
+ FileSystemOperation* operation = GetNewOperation(dest_url, request_id);
if (!operation)
return;
operation->Move(
@@ -256,7 +256,7 @@ void FileAPIMessageFilter::OnCopy(
return;
}
- FileSystemOperation* operation = GetNewOperation(src_url, request_id);
+ FileSystemOperation* operation = GetNewOperation(dest_url, request_id);
if (!operation)
return;
operation->Copy(
« no previous file with comments | « no previous file | webkit/fileapi/file_system_usage_cache.cc » ('j') | webkit/fileapi/local_file_system_operation.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698