| Index: net/socket/socket_test_util.cc
|
| diff --git a/net/socket/socket_test_util.cc b/net/socket/socket_test_util.cc
|
| index 2132ea37ee4191e1f478a0f9d8831eeb6ac8f80c..78e9e7ce9c4e2384e6c0a6412524da7c24934d1b 100644
|
| --- a/net/socket/socket_test_util.cc
|
| +++ b/net/socket/socket_test_util.cc
|
| @@ -957,7 +957,7 @@ int MockTCPClientSocket::CompleteRead() {
|
| was_used_to_convey_data_ = true;
|
|
|
| // Save the pending async IO data and reset our |pending_| state.
|
| - scoped_refptr<IOBuffer> buf = pending_buf_;
|
| + IOBuffer* buf = pending_buf_;
|
| int buf_len = pending_buf_len_;
|
| CompletionCallback callback = pending_callback_;
|
| pending_buf_ = NULL;
|
| @@ -1556,7 +1556,7 @@ int MockUDPClientSocket::CompleteRead() {
|
| DCHECK(pending_buf_len_ > 0);
|
|
|
| // Save the pending async IO data and reset our |pending_| state.
|
| - scoped_refptr<IOBuffer> buf = pending_buf_;
|
| + IOBuffer* buf = pending_buf_;
|
| int buf_len = pending_buf_len_;
|
| CompletionCallback callback = pending_callback_;
|
| pending_buf_ = NULL;
|
|
|