Index: content/browser/loader/stream_resource_handler.cc |
diff --git a/content/browser/loader/stream_resource_handler.cc b/content/browser/loader/stream_resource_handler.cc |
index 1e2acc877f541e7c0b56828f266f7c9652cc0112..8c8aae05fdc62894ad4895b1209310bdfd3ecfb9 100644 |
--- a/content/browser/loader/stream_resource_handler.cc |
+++ b/content/browser/loader/stream_resource_handler.cc |
@@ -19,7 +19,7 @@ StreamResourceHandler::StreamResourceHandler( |
net::URLRequest* request, |
StreamRegistry* registry, |
const GURL& origin) |
- : request_(request), |
+ : ResourceHandler(request), |
read_buffer_(NULL) { |
// TODO(tyoshino): Find a way to share this with the blob URL creation in |
// WebKit. |
@@ -58,7 +58,7 @@ bool StreamResourceHandler::OnWillStart(int request_id, |
} |
bool StreamResourceHandler::OnWillRead(int request_id, |
- net::IOBuffer** buf, |
+ scoped_refptr<net::IOBuffer>* buf, |
int* buf_size, |
int min_size) { |
static const int kReadBufSize = 32768; |