From 9291ed107d2031cea55f324431ffee8d7bae1416 Mon Sep 17 00:00:00 2001 From: "nsylvain@chromium.org" Date: Thu, 23 Jul 2009 17:33:22 +0000 Subject: Revert 21355 because it might be causing all the new crashes on reliability. It also seems to be causing valgrind error. Original change: Switch the first thread in a child process to be the main thread, and make theIO thread be the second thread. The change is needed for plugins on mac. Review URL: http://codereview.chromium.org/159274 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21398 0039d316-1c4b-4281-b951-d872f2087c98 --- ipc/ipc_channel_proxy.cc | 4 ---- ipc/ipc_channel_proxy.h | 4 ---- 2 files changed, 8 deletions(-) (limited to 'ipc') diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc index eba506d..d96e413 100644 --- a/ipc/ipc_channel_proxy.cc +++ b/ipc/ipc_channel_proxy.cc @@ -272,10 +272,6 @@ void ChannelProxy::RemoveFilter(MessageFilter* filter) { context_.get(), &Context::OnRemoveFilter, filter)); } -void ChannelProxy::ClearIPCMessageLoop() { - context()->ClearIPCMessageLoop(); -} - #if defined(OS_POSIX) // See the TODO regarding lazy initialization of the channel in // ChannelProxy::Init(). diff --git a/ipc/ipc_channel_proxy.h b/ipc/ipc_channel_proxy.h index 77ddd87..1aed33e 100644 --- a/ipc/ipc_channel_proxy.h +++ b/ipc/ipc_channel_proxy.h @@ -117,9 +117,6 @@ class ChannelProxy : public Message::Sender { void AddFilter(MessageFilter* filter); void RemoveFilter(MessageFilter* filter); - // Called to clear the pointer to the IPC message loop when it's going away. - void ClearIPCMessageLoop(); - #if defined(OS_POSIX) // Calls through to the underlying channel's methods. // TODO(playmobil): For now this is only implemented in the case of @@ -143,7 +140,6 @@ class ChannelProxy : public Message::Sender { Context(Channel::Listener* listener, MessageFilter* filter, MessageLoop* ipc_thread); virtual ~Context() { } - void ClearIPCMessageLoop() { ipc_message_loop_ = NULL; } MessageLoop* ipc_message_loop() const { return ipc_message_loop_; } const std::string& channel_id() const { return channel_id_; } -- cgit v1.1