Index: content/browser/storage_partition_impl_map.cc |
diff --git a/content/browser/storage_partition_impl_map.cc b/content/browser/storage_partition_impl_map.cc |
index 400c3b1f8f4db10c64d75386a2443497cba3b055..eae8422ccf34ea9b700d079623c080888d499b9e 100644 |
--- a/content/browser/storage_partition_impl_map.cc |
+++ b/content/browser/storage_partition_impl_map.cc |
@@ -63,8 +63,8 @@ class BlobProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler { |
if (!webkit_blob_protocol_handler_impl_) { |
webkit_blob_protocol_handler_impl_.reset( |
new WebKitBlobProtocolHandlerImpl(blob_storage_context_->controller(), |
- stream_context_, |
- file_system_context_)); |
+ stream_context_.get(), |
+ file_system_context_.get())); |
} |
return webkit_blob_protocol_handler_impl_->MaybeCreateJob(request, |
network_delegate); |
@@ -93,7 +93,7 @@ class BlobProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler { |
net::NetworkDelegate* network_delegate) const OVERRIDE { |
scoped_refptr<Stream> stream = |
stream_context_->registry()->GetStream(request->url()); |
- if (stream) |
+ if (stream.get()) |
return new StreamURLRequestJob(request, network_delegate, stream); |
return webkit_blob::BlobProtocolHandler::MaybeCreateJob( |