| Index: webkit/plugins/ppapi/ppapi_plugin_instance.h
|
| ===================================================================
|
| --- webkit/plugins/ppapi/ppapi_plugin_instance.h (revision 154817)
|
| +++ webkit/plugins/ppapi/ppapi_plugin_instance.h (working copy)
|
| @@ -468,7 +468,7 @@
|
| // proxy and re-sends DidCreate, DidChangeView, and HandleDocumentLoad (if
|
| // necessary).
|
| // This is for use with the NaCl proxy.
|
| - bool ResetAsProxied();
|
| + bool ResetAsProxied(scoped_refptr<PluginModule> module);
|
|
|
| private:
|
| // Implements PPB_Gamepad_API. This is just to avoid having an excessive
|
| @@ -572,10 +572,11 @@
|
| PluginDelegate* delegate_;
|
| scoped_refptr<PluginModule> module_;
|
| scoped_ptr< ::ppapi::PPP_Instance_Combined> instance_interface_;
|
| - // If this is the NaCl plugin, store its instance interface so we can shut
|
| - // it down properly when using the IPC-based PPAPI proxy.
|
| - // TODO(bbudge) Remove this when the proxy switch is complete.
|
| - scoped_ptr< ::ppapi::PPP_Instance_Combined> nacl_plugin_instance_interface_;
|
| + // If this is the NaCl plugin, we create a new module when we switch to the
|
| + // IPC-based PPAPI proxy. Store the original module and instance interface
|
| + // so we can shut down properly.
|
| + scoped_refptr<PluginModule> original_module_;
|
| + scoped_ptr< ::ppapi::PPP_Instance_Combined> original_instance_interface_;
|
|
|
| PP_Instance pp_instance_;
|
|
|
|
|