| Index: net/http/http_stream_factory_impl.cc
|
| diff --git a/net/http/http_stream_factory_impl.cc b/net/http/http_stream_factory_impl.cc
|
| index a1c72c6083d313b3d0cbd6b96df0910591607662..8094f4bba6e167f22a302e18cba26c3556d5c6d6 100644
|
| --- a/net/http/http_stream_factory_impl.cc
|
| +++ b/net/http/http_stream_factory_impl.cc
|
| @@ -226,7 +226,8 @@ PortAlternateProtocolPair HttpStreamFactoryImpl::GetAlternateProtocolRequestFor(
|
| return kNoAlternateProtocol;
|
|
|
| origin.set_port(alternate.port);
|
| - if (alternate.protocol >= NPN_SPDY_2 && alternate.protocol <= NPN_SPDY_3) {
|
| + if (alternate.protocol >= NPN_SPDY_MINIMUM_VERSION &&
|
| + alternate.protocol <= NPN_SPDY_MAXIMUM_VERSION) {
|
| if (!spdy_enabled())
|
| return kNoAlternateProtocol;
|
|
|
|
|