| Index: net/http/http_stream_factory_impl_job.cc
|
| diff --git a/net/http/http_stream_factory_impl_job.cc b/net/http/http_stream_factory_impl_job.cc
|
| index 82d7ed348ba08d7011bac70449d6f882859b9de2..cad818be76dd9d76ecd5685e10a7ea444b9f29e6 100644
|
| --- a/net/http/http_stream_factory_impl_job.cc
|
| +++ b/net/http/http_stream_factory_impl_job.cc
|
| @@ -1122,13 +1122,14 @@ int HttpStreamFactoryImpl::Job::DoCreateStream() {
|
| // HttpStreamFactoryImpl will be creating all the SpdyHttpStreams, since it
|
| // will know when SpdySessions become available.
|
|
|
| - if (stream_factory_->for_websockets_) {
|
| - // TODO(ricea): Restore this code when WebSockets over SPDY is implemented.
|
| - NOTREACHED();
|
| - } else {
|
| - bool use_relative_url = direct || request_info_.url.SchemeIs("https");
|
| - stream_.reset(new SpdyHttpStream(spdy_session, use_relative_url));
|
| - }
|
| + // TODO(ricea): Restore the code for WebSockets over SPDY once it's
|
| + // implemented.
|
| + if (stream_factory_->for_websockets_)
|
| + return ERR_NOT_IMPLEMENTED;
|
| +
|
| + bool use_relative_url = direct || request_info_.url.SchemeIs("https");
|
| + stream_.reset(new SpdyHttpStream(spdy_session, use_relative_url));
|
| +
|
| return OK;
|
| }
|
|
|
|
|