| Index: content/browser/streams/stream_handle_impl.cc
|
| diff --git a/content/browser/streams/stream_handle_impl.cc b/content/browser/streams/stream_handle_impl.cc
|
| index 6ff49621b57f10744cc10fe875906da362bc97ca..d07c1438936074ecb26c4f67535893026f9dfdf8 100644
|
| --- a/content/browser/streams/stream_handle_impl.cc
|
| +++ b/content/browser/streams/stream_handle_impl.cc
|
| @@ -30,7 +30,10 @@ StreamHandleImpl::StreamHandleImpl(
|
| url_(stream->url()),
|
| original_url_(original_url),
|
| mime_type_(mime_type),
|
| - response_headers_(response_headers),
|
| + // Make a copy of the response headers so it is safe to pass this across
|
| + // threads.
|
| + response_headers_(
|
| + new net::HttpResponseHeaders(response_headers->raw_headers())),
|
| stream_message_loop_(base::MessageLoopProxy::current().get()) {}
|
|
|
| StreamHandleImpl::~StreamHandleImpl() {
|
|
|