summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/plugin_thread.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-05 05:35:07 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-05 05:35:07 +0000
commitfa6caa4ffb83896cb42198f35ca7837ae3b7c83c (patch)
tree7f42b778a87a10b5db39bbe26f3d380dda05f8eb /chrome/plugin/plugin_thread.cc
parenta57ea3fc6c3cfe3b44dcd0771d0d56c76bd238df (diff)
downloadchromium_src-fa6caa4ffb83896cb42198f35ca7837ae3b7c83c.zip
chromium_src-fa6caa4ffb83896cb42198f35ca7837ae3b7c83c.tar.gz
chromium_src-fa6caa4ffb83896cb42198f35ca7837ae3b7c83c.tar.bz2
Fix regression from r11509 which caused each plugin instance to have its own IPC channel (doh!).
BUG=119052 TEST=covered by ui test that Amit added Review URL: http://codereview.chromium.org/119158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17712 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/plugin_thread.cc')
-rw-r--r--chrome/plugin/plugin_thread.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/plugin/plugin_thread.cc b/chrome/plugin/plugin_thread.cc
index 8f71662..08c96c9 100644
--- a/chrome/plugin/plugin_thread.cc
+++ b/chrome/plugin/plugin_thread.cc
@@ -97,10 +97,10 @@ void PluginThread::CleanUp() {
ChildThread::CleanUp();
}
-void PluginThread::OnCreateChannel(bool off_the_record) {
+void PluginThread::OnCreateChannel(int process_id, bool off_the_record) {
std::string channel_name;
scoped_refptr<PluginChannel> channel =
- PluginChannel::GetPluginChannel(owner_loop());
+ PluginChannel::GetPluginChannel(process_id, owner_loop());
if (channel.get()) {
channel_name = channel->channel_name();
channel->set_off_the_record(off_the_record);