Index: net/spdy/spdy_protocol.cc |
diff --git a/net/spdy/spdy_protocol.cc b/net/spdy/spdy_protocol.cc |
index fd435122f6485d5397f721aee2c63c5b946bebe2..6b55b11ea945e09e34029e8c4d30dc430041d03a 100644 |
--- a/net/spdy/spdy_protocol.cc |
+++ b/net/spdy/spdy_protocol.cc |
@@ -733,6 +733,10 @@ size_t SpdyConstants::GetSizeOfSizeField(SpdyMajorVersion version) { |
return (version < SPDY3) ? sizeof(uint16) : sizeof(uint32); |
} |
+size_t SpdyConstants::GetSettingSize(SpdyMajorVersion version) { |
+ return version <= SPDY3 ? 8 : 6; |
+} |
+ |
void SpdyDataIR::Visit(SpdyFrameVisitor* visitor) const { |
return visitor->VisitData(*this); |
} |