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

Unified Diff: webkit/fileapi/file_system_url_request_job.cc

Issue 10197007: Change webkit/{fileapi,quota} code to use TaskRunner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixesz Created 8 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
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 8b39722b535bc60bdad999a331428bb80871e62c..7c998f17e9123ebdffafead7d74931eaf514f8bf 100644
--- a/webkit/fileapi/file_system_url_request_job.cc
+++ b/webkit/fileapi/file_system_url_request_job.cc
@@ -158,9 +158,7 @@ void FileSystemURLRequestJob::StartAsync() {
return;
DCHECK(!reader_.get());
FileSystemOperationInterface* operation =
- file_system_context_->CreateFileSystemOperation(
- request_->url(),
- file_thread_proxy_);
+ file_system_context_->CreateFileSystemOperation(request_->url());
if (!operation) {
NotifyDone(URLRequestStatus(URLRequestStatus::FAILED,
net::ERR_INVALID_URL));
@@ -206,8 +204,7 @@ void FileSystemURLRequestJob::DidGetMetadata(
reader_.reset(
file_system_context_->CreateFileReader(
request_->url(),
- byte_range_.first_byte_position(),
- file_thread_proxy_));
+ byte_range_.first_byte_position()));
set_expected_content_size(remaining_bytes_);
response_info_.reset(new net::HttpResponseInfo());

Powered by Google App Engine
This is Rietveld 408576698