Index: content/browser/download/download_resource_handler.h |
diff --git a/content/browser/download/download_resource_handler.h b/content/browser/download/download_resource_handler.h |
index ffbd92bfb3a10fe120b134989ffcafddce2cef24..11982d7f67f0cecd019252607fdd2dc120e8b245 100644 |
--- a/content/browser/download/download_resource_handler.h |
+++ b/content/browser/download/download_resource_handler.h |
@@ -67,7 +67,7 @@ class CONTENT_EXPORT DownloadResourceHandler |
// Create a new buffer, which will be handed to the download thread for file |
// writing and deletion. |
virtual bool OnWillRead(int request_id, |
- net::IOBuffer** buf, |
+ scoped_refptr<net::IOBuffer>* buf, |
int* buf_size, |
int min_size) OVERRIDE; |
@@ -105,7 +105,6 @@ class CONTENT_EXPORT DownloadResourceHandler |
uint32 download_id_; |
std::string content_disposition_; |
int64 content_length_; |
- net::URLRequest* request_; |
// This is read only on the IO thread, but may only |
// be called on the UI thread. |
DownloadUrlParameters::OnStartedCallback started_cb_; |