Index: net/spdy/spdy_frame_builder.h |
diff --git a/net/spdy/spdy_frame_builder.h b/net/spdy/spdy_frame_builder.h |
index 86c8ee001e6b8bd62dddf5061c8e333fcf68106e..47ec816cc68519818506f66599b922ccdcff5557 100644 |
--- a/net/spdy/spdy_frame_builder.h |
+++ b/net/spdy/spdy_frame_builder.h |
@@ -77,9 +77,9 @@ class NET_EXPORT_PRIVATE SpdyFrameBuilder { |
// Takes the buffer from the SpdyFrameBuilder. |
SpdySerializedFrame take() { |
if (version_ == HTTP2) { |
- SPDY_BUG_IF(SpdyConstants::GetFrameMaximumSize(version_) < length_) |
+ SPDY_BUG_IF(SpdyConstants::GetMaxFrameSizeLimit(version_) < length_) |
<< "Frame length " << length_ |
- << " is longer than the maximum allowed length."; |
+ << " is longer than the maximum possible allowed length."; |
} |
SpdySerializedFrame rv(buffer_.release(), length(), true); |
capacity_ = 0; |