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

Unified Diff: net/server/http_listen_socket.cc

Issue 4192012: Convert implicit scoped_refptr constructor calls to explicit ones, part 1 (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: fix presubmit Created 10 years, 2 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/proxy/proxy_service.cc ('k') | net/socket/client_socket_pool_base_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/server/http_listen_socket.cc
diff --git a/net/server/http_listen_socket.cc b/net/server/http_listen_socket.cc
index b4f05d93ee9dc74e57dc9492a9128c8070f77a73..f35582b28b1b41b5a3b5c4a945d633296a8531e0 100644
--- a/net/server/http_listen_socket.cc
+++ b/net/server/http_listen_socket.cc
@@ -37,8 +37,8 @@ void HttpListenSocket::Accept() {
if (conn == ListenSocket::kInvalidSocket) {
// TODO
} else {
- scoped_refptr<HttpListenSocket> sock =
- new HttpListenSocket(conn, delegate_);
+ scoped_refptr<HttpListenSocket> sock(
+ new HttpListenSocket(conn, delegate_));
#if defined(OS_POSIX)
sock->WatchSocket(WAITING_READ);
#endif
« no previous file with comments | « net/proxy/proxy_service.cc ('k') | net/socket/client_socket_pool_base_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698