Index: content/browser/loader/resource_dispatcher_host_impl.cc |
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc |
index 531b382c42151b47fa08afbb80d811ef7065ad4f..3121e787abebb43d88ecd5a1ae9b728a9c0320c2 100644 |
--- a/content/browser/loader/resource_dispatcher_host_impl.cc |
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc |
@@ -46,7 +46,6 @@ |
#include "content/browser/renderer_host/render_view_host_impl.h" |
#include "content/browser/resource_context_impl.h" |
#include "content/browser/streams/stream.h" |
-#include "content/browser/streams/stream_context.h" |
#include "content/browser/streams/stream_registry.h" |
#include "content/browser/worker_host/worker_service_impl.h" |
#include "content/common/resource_messages.h" |
@@ -588,13 +587,12 @@ ResourceDispatcherHostImpl::MaybeInterceptAsStream(net::URLRequest* request, |
return scoped_ptr<ResourceHandler>(); |
} |
- StreamContext* stream_context = |
- GetStreamContextForResourceContext(info->GetContext()); |
- |
+ ChromeBlobStorageContext* blob_storage_context = |
+ GetChromeBlobStorageContextForResourceContext(info->GetContext()); |
scoped_ptr<StreamResourceHandler> handler( |
new StreamResourceHandler(request, |
- stream_context->registry(), |
+ blob_storage_context->stream_registry(), |
security_origin)); |
info->set_is_stream(true); |