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

Unified Diff: chrome/browser/net/preconnect.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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/net_internals_ui.cc » ('j') | net/third_party/nss/ssl/sslsock.c » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/preconnect.cc
diff --git a/chrome/browser/net/preconnect.cc b/chrome/browser/net/preconnect.cc
index 2c8097b0b20b2ff669ca17bbb047c1fd9a7c15b8..56342df51e20bcd4748afabc1755d085efdbda65 100644
--- a/chrome/browser/net/preconnect.cc
+++ b/chrome/browser/net/preconnect.cc
@@ -94,8 +94,8 @@ void PreconnectOnIOThread(
// Setup the SSL Configuration.
net::SSLConfig ssl_config;
session->ssl_config_service()->GetSSLConfig(&ssl_config);
- if (session->http_stream_factory()->next_protos())
- ssl_config.next_protos = *session->http_stream_factory()->next_protos();
+ if (session->http_stream_factory()->has_next_protos())
+ ssl_config.next_protos = session->http_stream_factory()->next_protos();
// All preconnects should perform EV certificate verification.
ssl_config.verify_ev_cert = true;
« no previous file with comments | « no previous file | chrome/browser/ui/webui/net_internals_ui.cc » ('j') | net/third_party/nss/ssl/sslsock.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698