Index: net/spdy/spdy_frame_builder.cc |
diff --git a/net/spdy/spdy_frame_builder.cc b/net/spdy/spdy_frame_builder.cc |
index 0b852118d11c4519acdd3ffa094755be4bd960b5..1e16abde9b8d8ec29b6e736f7859f1d49e884328 100644 |
--- a/net/spdy/spdy_frame_builder.cc |
+++ b/net/spdy/spdy_frame_builder.cc |
@@ -130,7 +130,7 @@ bool SpdyFrameBuilder::BeginNewFrame(const SpdyFramer& framer, |
return success; |
} |
-bool SpdyFrameBuilder::WriteString(const std::string& value) { |
+bool SpdyFrameBuilder::WriteStringPiece16(const base::StringPiece& value) { |
if (value.size() > 0xffff) { |
DCHECK(false) << "Tried to write string with length > 16bit."; |
return false; |