summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/plugin_channel_base.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-20 05:23:36 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-20 05:23:36 +0000
commit514e711ea07b6a1aef47ebf20250a37bd632402c (patch)
tree632f5e8902cc4231e9c14d0ad28035d63a0c964d /chrome/plugin/plugin_channel_base.cc
parent4acbad918766b81f1da3f10e2ae8aa2b10bb0593 (diff)
downloadchromium_src-514e711ea07b6a1aef47ebf20250a37bd632402c.zip
chromium_src-514e711ea07b6a1aef47ebf20250a37bd632402c.tar.gz
chromium_src-514e711ea07b6a1aef47ebf20250a37bd632402c.tar.bz2
Refactor code from RenderThread and PluginThread and move it to ChildThread. ChildProcess now owns the ChildThread, which removes duplicate code and simplifies things.
Clean up ChildProcess, there really was no need for all the templates and statics in it and its subclasses. Review URL: http://codereview.chromium.org/21502 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10080 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/plugin_channel_base.cc')
-rw-r--r--chrome/plugin/plugin_channel_base.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/plugin/plugin_channel_base.cc b/chrome/plugin/plugin_channel_base.cc
index c44c52e..2785328 100644
--- a/chrome/plugin/plugin_channel_base.cc
+++ b/chrome/plugin/plugin_channel_base.cc
@@ -76,9 +76,9 @@ void PluginChannelBase::CleanupChannels() {
bool PluginChannelBase::Init(MessageLoop* ipc_message_loop,
bool create_pipe_now) {
- channel_.reset(new IPC::SyncChannel(channel_name_, mode_, this, NULL,
- ipc_message_loop, create_pipe_now,
- PluginProcess::GetShutDownEvent()));
+ channel_.reset(new IPC::SyncChannel(
+ channel_name_, mode_, this, NULL, ipc_message_loop, create_pipe_now,
+ PluginProcess::current()->GetShutDownEvent()));
channel_valid_ = true;
return true;
}