summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_stream_test_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/spdy/spdy_stream_test_util.cc')
-rw-r--r--net/spdy/spdy_stream_test_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/spdy/spdy_stream_test_util.cc b/net/spdy/spdy_stream_test_util.cc
index e72f408..3fd48bb 100644
--- a/net/spdy/spdy_stream_test_util.cc
+++ b/net/spdy/spdy_stream_test_util.cc
@@ -129,7 +129,7 @@ int StreamDelegateSendImmediate::OnResponseHeadersReceived(
response, response_time, status);
if (data_.data()) {
scoped_refptr<StringIOBuffer> buf(new StringIOBuffer(data_.as_string()));
- stream()->SendData(buf, buf->size(), MORE_DATA_TO_SEND);
+ stream()->SendData(buf.get(), buf->size(), MORE_DATA_TO_SEND);
}
return status;
}