summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authornsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 17:33:22 +0000
committernsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 17:33:22 +0000
commit9291ed107d2031cea55f324431ffee8d7bae1416 (patch)
tree5c1d8e6d992aa324f099062b0f85e3945fdfe761 /ipc
parentfefa8b29191ffd7730f7d3428697408bf979e6ee (diff)
downloadchromium_src-9291ed107d2031cea55f324431ffee8d7bae1416.zip
chromium_src-9291ed107d2031cea55f324431ffee8d7bae1416.tar.gz
chromium_src-9291ed107d2031cea55f324431ffee8d7bae1416.tar.bz2
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
Diffstat (limited to 'ipc')
-rw-r--r--ipc/ipc_channel_proxy.cc4
-rw-r--r--ipc/ipc_channel_proxy.h4
2 files changed, 0 insertions, 8 deletions
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_; }