Index: android_webview/native/aw_dev_tools_server.cc |
diff --git a/android_webview/native/aw_dev_tools_server.cc b/android_webview/native/aw_dev_tools_server.cc |
index 6783bae189ad5154a4c286036812efbe6c9e0491..1aef54117aa4200458dd389dcd2e9daebbc70640 100644 |
--- a/android_webview/native/aw_dev_tools_server.cc |
+++ b/android_webview/native/aw_dev_tools_server.cc |
@@ -19,7 +19,7 @@ |
#include "content/public/browser/web_contents.h" |
#include "content/public/common/user_agent.h" |
#include "jni/AwDevToolsServer_jni.h" |
-#include "net/socket/unix_domain_socket_posix.h" |
+#include "net/socket/unix_domain_listen_socket_posix.h" |
using content::DevToolsAgentHost; |
using content::RenderViewHost; |
@@ -176,7 +176,7 @@ void AwDevToolsServer::Start() { |
return; |
protocol_handler_ = content::DevToolsHttpHandler::Start( |
- new net::UnixDomainSocketWithAbstractNamespaceFactory( |
+ new net::deprecated::UnixDomainListenSocketWithAbstractNamespaceFactory( |
base::StringPrintf(kSocketNameFormat, getpid()), |
"", |
base::Bind(&content::CanUserConnectToDevTools)), |