| Index: webkit/plugins/ppapi/ppb_proxy_impl.cc
|
| ===================================================================
|
| --- webkit/plugins/ppapi/ppb_proxy_impl.cc (revision 77663)
|
| +++ webkit/plugins/ppapi/ppb_proxy_impl.cc (working copy)
|
| @@ -28,9 +28,17 @@
|
| return obj->instance()->pp_instance();
|
| }
|
|
|
| +void SetReserveInstanceIDCallback(PP_Module module,
|
| + PP_Bool (*reserve)(PP_Module, PP_Instance)) {
|
| + PluginModule* plugin_module = ResourceTracker::Get()->GetModule(module);
|
| + if (plugin_module)
|
| + plugin_module->SetReserveInstanceIDCallback(reserve);
|
| +}
|
| +
|
| const PPB_Proxy_Private ppb_proxy = {
|
| &PluginCrashed,
|
| - &GetInstanceForResource
|
| + &GetInstanceForResource,
|
| + &SetReserveInstanceIDCallback
|
| };
|
|
|
| } // namespace
|
|
|