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

Unified Diff: webkit/chromeos/fileapi/remote_file_system_operation.cc

Issue 10559036: Added URLRequestContext to constructor for URLRequest. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merged with latest version Created 8 years, 6 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/chromeos/fileapi/remote_file_system_operation.cc
diff --git a/webkit/chromeos/fileapi/remote_file_system_operation.cc b/webkit/chromeos/fileapi/remote_file_system_operation.cc
index e3a551b448cff7124d60b484fa3821b0f9700563..29826078f070859b70420e67a4315ca4f7f672e8 100644
--- a/webkit/chromeos/fileapi/remote_file_system_operation.cc
+++ b/webkit/chromeos/fileapi/remote_file_system_operation.cc
@@ -119,9 +119,8 @@ void RemoteFileSystemOperation::Write(
path,
offset))));
- scoped_ptr<net::URLRequest> blob_request(
- new net::URLRequest(blob_url, file_writer_delegate_.get()));
- blob_request->set_context(url_request_context);
+ scoped_ptr<net::URLRequest> blob_request(new net::URLRequest(
+ blob_url, file_writer_delegate_.get(), url_request_context));
file_writer_delegate_->Start(blob_request.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698