You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chromium/chromium-96.0.4664.45-no-co...

18 lines
1001 B

diff -up chromium-96.0.4664.45/net/test/embedded_test_server/http2_connection.cc.no-const chromium-96.0.4664.45/net/test/embedded_test_server/http2_connection.cc
--- chromium-96.0.4664.45/net/test/embedded_test_server/http2_connection.cc.no-const 2021-11-23 18:56:57.700174009 +0000
+++ chromium-96.0.4664.45/net/test/embedded_test_server/http2_connection.cc 2021-11-23 18:57:39.405201162 +0000
@@ -24,10 +24,9 @@ namespace net {
namespace {
-std::vector<const http2::adapter::Header> GenerateHeaders(
- HttpStatusCode status,
- base::StringPairs headers) {
- std::vector<const http2::adapter::Header> response_vector;
+std::vector<http2::adapter::Header> GenerateHeaders(HttpStatusCode status,
+ base::StringPairs headers) {
+ std::vector<http2::adapter::Header> response_vector;
response_vector.emplace_back(
http2::adapter::HeaderRep(std::string(":status")),
http2::adapter::HeaderRep(base::NumberToString(status)));