Index: net/quic/quic_http_stream_test.cc |
diff --git a/net/quic/quic_http_stream_test.cc b/net/quic/quic_http_stream_test.cc |
index 7ccb840d4594343aa5f6ee2838eb1ddbd356c144..f243e023f68215fdf0521c8aaf4499978c645e0c 100644 |
--- a/net/quic/quic_http_stream_test.cc |
+++ b/net/quic/quic_http_stream_test.cc |
@@ -9,6 +9,7 @@ |
#include <vector> |
#include "base/memory/scoped_ptr.h" |
+#include "base/strings/string_number_conversions.h" |
#include "base/thread_task_runner_handle.h" |
#include "net/base/chunked_upload_data_stream.h" |
#include "net/base/elements_upload_data_stream.h" |
@@ -570,6 +571,7 @@ TEST_P(QuicHttpStreamTest, GetRequestWithTrailers) { |
SpdyHeaderBlock trailers; |
size_t spdy_trailers_frame_length; |
trailers["foo"] = "bar"; |
+ trailers[kFinalOffsetHeaderKey] = base::IntToString(strlen(kResponseBody)); |
ProcessPacket(ConstructResponseTrailersPacket( |
4, kFin, trailers, &spdy_trailers_frame_length, &offset)); |