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

Unified Diff: webkit/fileapi/file_system_url_request_job.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/file_system_mount_point_provider.h ('k') | webkit/fileapi/isolated_mount_point_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_url_request_job.cc
diff --git a/webkit/fileapi/file_system_url_request_job.cc b/webkit/fileapi/file_system_url_request_job.cc
index afa6e37f3693debc7c1d2383ec50dd894753b9ed..f6e1f9b74dd0de40ea28bbc3929612e1d81afe08 100644
--- a/webkit/fileapi/file_system_url_request_job.cc
+++ b/webkit/fileapi/file_system_url_request_job.cc
@@ -202,11 +202,8 @@ void FileSystemURLRequestJob::DidGetMetadata(
DCHECK_GE(remaining_bytes_, 0);
DCHECK(!reader_.get());
- reader_.reset(
- file_system_context_->CreateFileStreamReader(
- url_,
- byte_range_.first_byte_position(),
- base::Time()));
+ reader_ = file_system_context_->CreateFileStreamReader(
+ url_, byte_range_.first_byte_position(), base::Time());
set_expected_content_size(remaining_bytes_);
response_info_.reset(new net::HttpResponseInfo());
« no previous file with comments | « webkit/fileapi/file_system_mount_point_provider.h ('k') | webkit/fileapi/isolated_mount_point_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698