summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_test_util_spdy2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/spdy/spdy_test_util_spdy2.cc')
-rw-r--r--net/spdy/spdy_test_util_spdy2.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/spdy/spdy_test_util_spdy2.cc b/net/spdy/spdy_test_util_spdy2.cc
index 962b9e9..9afc9da 100644
--- a/net/spdy/spdy_test_util_spdy2.cc
+++ b/net/spdy/spdy_test_util_spdy2.cc
@@ -403,7 +403,7 @@ SpdyFrame* ConstructSpdyPostSynReply(const char* const extra_headers[],
}
SpdyFrame* ConstructSpdyBodyFrame(int stream_id, bool fin) {
- SpdyFramer framer(2);
+ SpdyFramer framer(SPDY2);
return framer.CreateDataFrame(
stream_id, kUploadData, kUploadDataSize,
fin ? DATA_FLAG_FIN : DATA_FLAG_NONE);
@@ -411,7 +411,7 @@ SpdyFrame* ConstructSpdyBodyFrame(int stream_id, bool fin) {
SpdyFrame* ConstructSpdyBodyFrame(int stream_id, const char* data,
uint32 len, bool fin) {
- SpdyFramer framer(2);
+ SpdyFramer framer(SPDY2);
return framer.CreateDataFrame(
stream_id, data, len, fin ? DATA_FLAG_FIN : DATA_FLAG_NONE);
}