Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(730)

Unified Diff: net/socket/unix_domain_server_socket_posix_unittest.cc

Issue 503113004: Remove implicit conversions from scoped_refptr to T* in net/socket/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/unix_domain_client_socket_posix_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/unix_domain_server_socket_posix_unittest.cc
diff --git a/net/socket/unix_domain_server_socket_posix_unittest.cc b/net/socket/unix_domain_server_socket_posix_unittest.cc
index d8a52812c4e403973aceb40e0abc4002f8f22715..a78377d9a7cb3e175ff0609f5356cebd9066d53d 100644
--- a/net/socket/unix_domain_server_socket_posix_unittest.cc
+++ b/net/socket/unix_domain_server_socket_posix_unittest.cc
@@ -97,8 +97,8 @@ TEST_F(UnixDomainServerSocketTest, AcceptWithForbiddenUser) {
const int read_buffer_size = 10;
scoped_refptr<IOBuffer> read_buffer(new IOBuffer(read_buffer_size));
TestCompletionCallback read_callback;
- rv = read_callback.GetResult(client_socket.Read(read_buffer, read_buffer_size,
- read_callback.callback()));
+ rv = read_callback.GetResult(client_socket.Read(
+ read_buffer.get(), read_buffer_size, read_callback.callback()));
// The server should have disconnected gracefully, without sending any data.
ASSERT_EQ(0, rv);
« no previous file with comments | « net/socket/unix_domain_client_socket_posix_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698