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

Unified Diff: net/spdy/spdy_session.cc

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 years, 11 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 | « net/spdy/spdy_headers_block_parser_test.cc ('k') | net/ssl/client_cert_store_chromeos.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session.cc
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
index 575cee20b83857cf21fddef8d7a94b5ae99a8f23..a6478dff29bf0421620e089515f6616cebfa3072 100644
--- a/net/spdy/spdy_session.cc
+++ b/net/spdy/spdy_session.cc
@@ -450,8 +450,8 @@ void SplitPushedHeadersToRequestAndResponse(const SpdyHeaderBlock& headers,
to_insert = request_headers;
} else {
const char* host = protocol_version >= SPDY4 ? ":authority" : ":host";
- static const char* scheme = ":scheme";
- static const char* path = ":path";
+ static const char scheme[] = ":scheme";
+ static const char path[] = ":path";
if (it->first == host || it->first == scheme || it->first == path)
to_insert = request_headers;
}
« no previous file with comments | « net/spdy/spdy_headers_block_parser_test.cc ('k') | net/ssl/client_cert_store_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698