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 c8ac91809147620b52a77bc7c80051d406b06923..a72addbad5678e9aefe004da3f5266b56a0e0ae2 100644 |
--- a/content/browser/loader/stream_resource_handler.cc |
+++ b/content/browser/loader/stream_resource_handler.cc |
@@ -13,12 +13,14 @@ namespace content { |
StreamResourceHandler::StreamResourceHandler(net::URLRequest* request, |
StreamRegistry* registry, |
- const GURL& origin) |
+ const GURL& origin, |
+ bool immediate_mode) |
: ResourceHandler(request) { |
writer_.InitializeStream(registry, origin, |
base::Bind(&StreamResourceHandler::OutOfBandCancel, |
base::Unretained(this), net::ERR_ABORTED, |
true /* tell_renderer */)); |
+ writer_.set_immediate_mode(immediate_mode); |
} |
StreamResourceHandler::~StreamResourceHandler() { |