| 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 db9f23dbc1a1201261cb7983db7a162578bfe5b8..1d7b5b5bef50200ae4931e38276cc4c8d888b7fb 100644
|
| --- a/content/browser/ppapi_plugin_process_host.cc
|
| +++ b/content/browser/ppapi_plugin_process_host.cc
|
| @@ -101,14 +101,12 @@ PpapiPluginProcessHost* PpapiPluginProcessHost::CreateBrokerHost(
|
| void PpapiPluginProcessHost::DidCreateOutOfProcessInstance(
|
| int plugin_process_id,
|
| int32 pp_instance,
|
| - int render_process_id,
|
| - int render_view_id) {
|
| + const PepperRendererInstanceData& instance_data) {
|
| for (PpapiPluginProcessHostIterator iter; !iter.Done(); ++iter) {
|
| if (iter->process_.get() &&
|
| iter->process_->GetData().id == plugin_process_id) {
|
| // Found the plugin.
|
| - iter->host_impl_->AddInstanceForView(pp_instance,
|
| - render_process_id, render_view_id);
|
| + iter->host_impl_->AddInstance(pp_instance, instance_data);
|
| return;
|
| }
|
| }
|
| @@ -130,7 +128,7 @@ void PpapiPluginProcessHost::DidDeleteOutOfProcessInstance(
|
| if (iter->process_.get() &&
|
| iter->process_->GetData().id == plugin_process_id) {
|
| // Found the plugin.
|
| - iter->host_impl_->DeleteInstanceForView(pp_instance);
|
| + iter->host_impl_->DeleteInstance(pp_instance);
|
| return;
|
| }
|
| }
|
|
|