| Index: net/spdy/spdy_frame_builder.cc
|
| diff --git a/net/spdy/spdy_frame_builder.cc b/net/spdy/spdy_frame_builder.cc
|
| index f3922c6976af0b83a209eb4cc847b04d5573f372..5015c9a49a632f511f877fa818aa1f17f048f5ef 100644
|
| --- a/net/spdy/spdy_frame_builder.cc
|
| +++ b/net/spdy/spdy_frame_builder.cc
|
| @@ -136,8 +136,9 @@ bool SpdyFrameBuilder::WriteStringPiece16(const base::StringPiece& value) {
|
| return false;
|
| }
|
|
|
| - if (!WriteUInt16(static_cast<uint16>(value.size())))
|
| + if (!WriteUInt16(static_cast<uint16>(value.size()))) {
|
| return false;
|
| + }
|
|
|
| return WriteBytes(value.data(), static_cast<uint16>(value.size()));
|
| }
|
|
|