summaryrefslogtreecommitdiffstats
path: root/net/socket/socket_test_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/socket_test_util.h')
-rw-r--r--net/socket/socket_test_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h
index d54e2ac..a0d0c65 100644
--- a/net/socket/socket_test_util.h
+++ b/net/socket/socket_test_util.h
@@ -627,7 +627,7 @@ class MockTCPClientSocket : public MockClientSocket, public AsyncSocket {
SocketDataProvider* socket);
virtual ~MockTCPClientSocket();
- AddressList addresses() const { return addresses_; }
+ const AddressList& addresses() const { return addresses_; }
// Socket implementation.
virtual int Read(IOBuffer* buf, int buf_len,