| Index: content/browser/ppapi_plugin_process_host.cc
|
| diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc
|
| index 4d0213bd0400a60fa7d67b4dcd9c03cb17253979..fd7ce7aa54b99d42b507d7b9146adaae9d1a020b 100644
|
| --- a/content/browser/ppapi_plugin_process_host.cc
|
| +++ b/content/browser/ppapi_plugin_process_host.cc
|
| @@ -168,12 +168,14 @@ PpapiPluginProcessHost::PpapiPluginProcessHost(
|
| process_.reset(new BrowserChildProcessHostImpl(
|
| PROCESS_TYPE_PPAPI_PLUGIN, this));
|
|
|
| - filter_ = new PepperMessageFilter(PepperMessageFilter::PLUGIN,
|
| + filter_ = new PepperMessageFilter(process_->GetData().type,
|
| permissions_,
|
| host_resolver);
|
|
|
| host_impl_.reset(new BrowserPpapiHostImpl(this, permissions_, info.name,
|
| - profile_data_directory, process_->GetData().id));
|
| + profile_data_directory,
|
| + process_->GetData().id,
|
| + process_->GetData().type));
|
|
|
| process_->GetHost()->AddFilter(filter_.get());
|
| process_->GetHost()->AddFilter(host_impl_->message_filter());
|
| @@ -192,7 +194,9 @@ PpapiPluginProcessHost::PpapiPluginProcessHost()
|
| std::string plugin_name;
|
| FilePath profile_data_directory;
|
| host_impl_.reset(new BrowserPpapiHostImpl(this, permissions, plugin_name,
|
| - profile_data_directory, process_->GetData().id));
|
| + profile_data_directory,
|
| + process_->GetData().id,
|
| + process_->GetData().type));
|
| }
|
|
|
| bool PpapiPluginProcessHost::Init(const PepperPluginInfo& info) {
|
|
|