summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-19 19:08:13 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-19 19:08:13 +0000
commit7e96b7ac9c98f54506da88a4d69e9012b164761f (patch)
tree90e03b363184e8afd5f99438ebc1e4a596fe8dab
parentb13ba159730db3f796166709684b81db02553042 (diff)
downloadchromium_src-7e96b7ac9c98f54506da88a4d69e9012b164761f.zip
chromium_src-7e96b7ac9c98f54506da88a4d69e9012b164761f.tar.gz
chromium_src-7e96b7ac9c98f54506da88a4d69e9012b164761f.tar.bz2
Use scoped_refptr for refcounted parameters in devtools.
BUG=28083 TEST=builds Review URL: http://codereview.chromium.org/3851007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63081 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/debugger/devtools_http_protocol_handler.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/debugger/devtools_http_protocol_handler.cc b/chrome/browser/debugger/devtools_http_protocol_handler.cc
index 5f01335..5f7a50b 100644
--- a/chrome/browser/debugger/devtools_http_protocol_handler.cc
+++ b/chrome/browser/debugger/devtools_http_protocol_handler.cc
@@ -95,7 +95,7 @@ void DevToolsHttpProtocolHandler::OnHttpRequest(
FROM_HERE,
NewRunnableMethod(this,
&DevToolsHttpProtocolHandler::OnHttpRequestUI,
- socket,
+ make_scoped_refptr(socket),
info));
return;
}
@@ -123,7 +123,7 @@ void DevToolsHttpProtocolHandler::OnWebSocketRequest(
NewRunnableMethod(
this,
&DevToolsHttpProtocolHandler::OnWebSocketRequestUI,
- socket,
+ make_scoped_refptr(socket),
request));
}
@@ -135,7 +135,7 @@ void DevToolsHttpProtocolHandler::OnWebSocketMessage(HttpListenSocket* socket,
NewRunnableMethod(
this,
&DevToolsHttpProtocolHandler::OnWebSocketMessageUI,
- socket,
+ make_scoped_refptr(socket),
data));
}
@@ -160,7 +160,7 @@ void DevToolsHttpProtocolHandler::OnClose(HttpListenSocket* socket) {
NewRunnableMethod(
this,
&DevToolsHttpProtocolHandler::OnCloseUI,
- socket));
+ make_scoped_refptr(socket)));
}
void DevToolsHttpProtocolHandler::OnHttpRequestUI(