Index: net/socket/socket_test_util.h |
diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h |
index 429ae1f216f0187f2d69f0291d4775455555facb..e4e56522c9253ea80295dc980c8ac551ae38a6c1 100644 |
--- a/net/socket/socket_test_util.h |
+++ b/net/socket/socket_test_util.h |
@@ -231,7 +231,7 @@ class StaticSocketDataProvider : public SocketDataProvider { |
// SocketDataProvider implementation. |
virtual MockRead GetNextRead() OVERRIDE; |
virtual MockWriteResult OnWrite(const std::string& data) OVERRIDE; |
- virtual void Reset() OVERRIDE; |
+ ; virtual void Reset() OVERRIDE; |
private: |
MockRead* reads_; |
@@ -716,7 +716,7 @@ class MockTCPClientSocket : public MockClientSocket, public AsyncSocket { |
bool peer_closed_connection_; |
// While an asynchronous IO is pending, we save our user-buffer state. |
- scoped_refptr<IOBuffer> pending_buf_; |
+ IOBuffer* pending_buf_; |
int pending_buf_len_; |
CompletionCallback pending_callback_; |
bool was_used_to_convey_data_; |
@@ -955,7 +955,7 @@ class MockUDPClientSocket |
IPEndPoint peer_addr_; |
// While an asynchronous IO is pending, we save our user-buffer state. |
- scoped_refptr<IOBuffer> pending_buf_; |
+ IOBuffer* pending_buf_; |
int pending_buf_len_; |
CompletionCallback pending_callback_; |