| Index: content/browser/ppapi_plugin_process_host.cc
|
| ===================================================================
|
| --- content/browser/ppapi_plugin_process_host.cc (revision 155271)
|
| +++ content/browser/ppapi_plugin_process_host.cc (working copy)
|
| @@ -75,9 +75,9 @@
|
| PpapiPluginProcessHost* PpapiPluginProcessHost::CreatePluginHost(
|
| const content::PepperPluginInfo& info,
|
| const FilePath& profile_data_directory,
|
| - net::HostResolver* host_resolver) {
|
| + int render_process_id) {
|
| PpapiPluginProcessHost* plugin_host = new PpapiPluginProcessHost(
|
| - info, profile_data_directory, host_resolver);
|
| + info, profile_data_directory, render_process_id);
|
| if (plugin_host->Init(info))
|
| return plugin_host;
|
|
|
| @@ -116,7 +116,7 @@
|
| PpapiPluginProcessHost::PpapiPluginProcessHost(
|
| const content::PepperPluginInfo& info,
|
| const FilePath& profile_data_directory,
|
| - net::HostResolver* host_resolver)
|
| + int render_process_id)
|
| : network_observer_(new PluginNetworkObserver(this)),
|
| profile_data_directory_(profile_data_directory),
|
| is_broker_(false) {
|
| @@ -124,7 +124,7 @@
|
| content::PROCESS_TYPE_PPAPI_PLUGIN, this));
|
|
|
| filter_ = new PepperMessageFilter(PepperMessageFilter::PLUGIN,
|
| - host_resolver);
|
| + render_process_id);
|
|
|
| ppapi::PpapiPermissions permissions(info.permissions);
|
| host_impl_ = new content::BrowserPpapiHostImpl(this, permissions);
|
|
|