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 a80cc0d7b89b59661edd2d799567ea4f0e887f0a..480a575f59d8174556d653e7219e6164257f8435 100644 |
--- a/net/http/http_stream_factory_impl_job.cc |
+++ b/net/http/http_stream_factory_impl_job.cc |
@@ -666,7 +666,7 @@ bool HttpStreamFactoryImpl::Job::ShouldForceSpdyWithoutSSL() const { |
bool HttpStreamFactoryImpl::Job::ShouldForceQuic() const { |
return session_->params().enable_quic && request_info_.url.SchemeIs("http") && |
- session_->params().origin_port_to_force_quic_on == origin_.port() && |
+ session_->params().origin_to_force_quic_on.Equals(origin_) && |
proxy_info_.is_direct(); |
} |