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

Unified Diff: chrome/browser/android/dev_tools_server.cc

Issue 640353003: Use scoped_ptr::Pass instead of scoped_ptr::PassAs<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo Created 6 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 | « no previous file | chrome/browser/apps/drive/drive_app_provider_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/dev_tools_server.cc
diff --git a/chrome/browser/android/dev_tools_server.cc b/chrome/browser/android/dev_tools_server.cc
index 2a2e5e811391039b51c1ff0f2f38c386da9d5fb0..a65c7bb9d5053c3b3ab5d2807b05e7573ae281dc 100644
--- a/chrome/browser/android/dev_tools_server.cc
+++ b/chrome/browser/android/dev_tools_server.cc
@@ -112,11 +112,7 @@ class DevToolsServerDelegate : public content::DevToolsHttpHandlerDelegate {
kTetheringSocketName, getpid(), ++last_tethering_socket_);
return net::deprecated::UnixDomainListenSocket::
CreateAndListenWithAbstractNamespace(
- *name,
- "",
- delegate,
- auth_callback_)
- .PassAs<net::StreamListenSocket>();
+ *name, "", delegate, auth_callback_);
}
private:
« no previous file with comments | « no previous file | chrome/browser/apps/drive/drive_app_provider_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698