Index: components/nacl/renderer/plugin/service_runtime.cc |
diff --git a/components/nacl/renderer/plugin/service_runtime.cc b/components/nacl/renderer/plugin/service_runtime.cc |
index 81479d35a1e2c1b9cc3bf3f68791e730e9b68bf7..dc2d9fc87dbb580bba0f31a9f2a7f40d7670283f 100644 |
--- a/components/nacl/renderer/plugin/service_runtime.cc |
+++ b/components/nacl/renderer/plugin/service_runtime.cc |
@@ -15,7 +15,6 @@ |
#include "components/nacl/renderer/plugin/plugin.h" |
#include "components/nacl/renderer/plugin/plugin_error.h" |
#include "components/nacl/renderer/plugin/sel_ldr_launcher_chrome.h" |
-#include "components/nacl/renderer/plugin/srpc_client.h" |
#include "components/nacl/renderer/plugin/utility.h" |
#include "native_client/src/include/nacl_macros.h" |
#include "native_client/src/include/nacl_scoped_ptr.h" |
@@ -108,18 +107,6 @@ void ServiceRuntime::ReportLoadError(const ErrorInfo& error_info) { |
} |
} |
-SrpcClient* ServiceRuntime::SetupAppChannel() { |
- nacl::DescWrapper* connect_desc = subprocess_->socket_addr()->Connect(); |
- if (NULL == connect_desc) { |
- LOG(ERROR) << "ServiceRuntime::SetupAppChannel (connect failed)"; |
- return NULL; |
- } else { |
- SrpcClient* srpc_client = SrpcClient::New(connect_desc); |
- delete connect_desc; |
- return srpc_client; |
- } |
-} |
- |
void ServiceRuntime::Shutdown() { |
// Abandon callbacks, tell service threads to quit if they were |
// blocked waiting for main thread operations to finish. Note that |