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

Unified Diff: webkit/fileapi/upload_file_system_file_element_reader.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
Index: webkit/fileapi/upload_file_system_file_element_reader.cc
diff --git a/webkit/fileapi/upload_file_system_file_element_reader.cc b/webkit/fileapi/upload_file_system_file_element_reader.cc
index 212640a4043e4dafdb33223bf44deb8c0136f35f..6e5f47eea277dddd90076df97e21891511ec3371 100644
--- a/webkit/fileapi/upload_file_system_file_element_reader.cc
+++ b/webkit/fileapi/upload_file_system_file_element_reader.cc
@@ -41,7 +41,9 @@ int UploadFileSystemFileElementReader::Init(
// Initialize the stream reader and the length.
stream_reader_.reset(
file_system_context_->CreateFileStreamReader(
- FileSystemURL(url_), range_offset_, expected_modification_time_));
+ file_system_context_->CrackURL(url_),
+ range_offset_,
+ expected_modification_time_));
DCHECK(stream_reader_);
const int result = stream_reader_->GetLength(

Powered by Google App Engine
This is Rietveld 408576698