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

Unified Diff: webkit/fileapi/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/fileapi/file_system_operation.cc
diff --git a/webkit/fileapi/file_system_operation.cc b/webkit/fileapi/file_system_operation.cc
index 5c77024848a5d55852bc0472dd6ff94325012999..4265b6f71924571e71c765b39d547dd28083d77a 100644
--- a/webkit/fileapi/file_system_operation.cc
+++ b/webkit/fileapi/file_system_operation.cc
@@ -308,8 +308,9 @@ void FileSystemOperation::Write(
set_write_callback(callback);
scoped_ptr<net::URLRequest> blob_request(
- new net::URLRequest(blob_url, file_writer_delegate_.get()));
- blob_request->set_context(url_request_context);
+ 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