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

Unified Diff: webkit/fileapi/upload_file_system_file_element_reader.cc

Issue 13811013: Refactor FileSystemMountPointProvider::CreateFileStream{Reader,Writer} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: conflict fix Created 7 years, 8 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/test_mount_point_provider.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c0586fc6b7f772dc8f556a1399b9b68c3f167e33..b4a7ea9d41f0848687952a9f2727440eac9fce27 100644
--- a/webkit/fileapi/upload_file_system_file_element_reader.cc
+++ b/webkit/fileapi/upload_file_system_file_element_reader.cc
@@ -39,11 +39,11 @@ int UploadFileSystemFileElementReader::Init(
position_ = 0;
// Initialize the stream reader and the length.
- stream_reader_.reset(
+ stream_reader_ =
file_system_context_->CreateFileStreamReader(
file_system_context_->CrackURL(url_),
range_offset_,
- expected_modification_time_));
+ expected_modification_time_);
DCHECK(stream_reader_);
const int64 result = stream_reader_->GetLength(
« no previous file with comments | « webkit/fileapi/test_mount_point_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698