summaryrefslogtreecommitdiffstats
path: root/net/socket/socket_test_util.cc
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-19 11:04:42 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-19 11:04:42 +0000
commit5510125a431b6f1665c4ea5f7b469a0a030a62c8 (patch)
treef3ce9816ae756d1b2544113ed1430695d4ea5dfb /net/socket/socket_test_util.cc
parentacc4630200b2c57a797a7c625a21a27fd85de921 (diff)
downloadchromium_src-5510125a431b6f1665c4ea5f7b469a0a030a62c8.zip
chromium_src-5510125a431b6f1665c4ea5f7b469a0a030a62c8.tar.gz
chromium_src-5510125a431b6f1665c4ea5f7b469a0a030a62c8.tar.bz2
Revert r229533 "[GCM] Initial work to set up directory structure and introduce socket integration"
Breaks main waterfall. TBR=zea Review URL: https://codereview.chromium.org/29273008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229543 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/socket_test_util.cc')
-rw-r--r--net/socket/socket_test_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/socket/socket_test_util.cc b/net/socket/socket_test_util.cc
index 2132ea3..78e9e7c 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;