Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Unified Diff: net/http/http_network_transaction.cc

Issue 8156001: net: rework the NPN patch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_network_transaction.cc
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
index e88f2546a54c2722f2631ec5f4d24e42d8181db0..0ffdba9e94da5529686caf56260e3bcb585dd19e 100644
--- a/net/http/http_network_transaction.cc
+++ b/net/http/http_network_transaction.cc
@@ -108,9 +108,9 @@ HttpNetworkTransaction::HttpNetworkTransaction(HttpNetworkSession* session)
next_state_(STATE_NONE),
establishing_tunnel_(false) {
session->ssl_config_service()->GetSSLConfig(&server_ssl_config_);
- if (session->http_stream_factory()->next_protos()) {
+ if (session->http_stream_factory()->has_next_protos()) {
server_ssl_config_.next_protos =
- *session->http_stream_factory()->next_protos();
+ session->http_stream_factory()->next_protos();
}
}

Powered by Google App Engine
This is Rietveld 408576698