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

Unified Diff: webkit/fileapi/local_file_system_operation.cc

Issue 10870060: Removed calls to URLRequest::URLRequest in favor of URLRequestContext::CreateRequest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 8 years, 4 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/local_file_system_operation.cc
diff --git a/webkit/fileapi/local_file_system_operation.cc b/webkit/fileapi/local_file_system_operation.cc
index a0f73b8574a9c905a13f9426997feb032cce02c6..73abeb22230b9db34118863c9262988e147746fe 100644
--- a/webkit/fileapi/local_file_system_operation.cc
+++ b/webkit/fileapi/local_file_system_operation.cc
@@ -313,10 +313,8 @@ void LocalFileSystemOperation::Write(
writer.Pass()));
set_write_callback(callback);
- scoped_ptr<net::URLRequest> blob_request(
- new net::URLRequest(blob_url,
- file_writer_delegate_.get(),
- url_request_context));
+ scoped_ptr<net::URLRequest> blob_request(url_request_context->CreateRequest(
+ blob_url, file_writer_delegate_.get()));
file_writer_delegate_->Start(blob_request.Pass());
}
« no previous file with comments | « webkit/fileapi/file_writer_delegate_unittest.cc ('k') | webkit/tools/test_shell/simple_resource_loader_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698