Index: ppapi/native_client/src/trusted/plugin/module_ppapi.cc |
=================================================================== |
--- ppapi/native_client/src/trusted/plugin/module_ppapi.cc (revision 143037) |
+++ ppapi/native_client/src/trusted/plugin/module_ppapi.cc (working copy) |
@@ -13,6 +13,8 @@ |
#include "ppapi/c/private/ppb_nacl_private.h" |
#include "ppapi/cpp/module.h" |
+StartPpapiProxyFunc start_ppapi_proxy; |
Mark Seaborn
2012/06/20 19:24:40
Does this have to be a global? Can't plugin.cc ca
bbudge
2012/06/21 00:00:46
It could but I would have to duplicate the code he
Mark Seaborn
2012/06/21 15:30:03
Well, launch_nacl_process is a global for legacy r
bbudge
2012/06/21 18:16:53
Done.
|
+ |
namespace plugin { |
class ModulePpapi : public pp::Module { |
@@ -47,6 +49,9 @@ |
launch_nacl_process = reinterpret_cast<LaunchNaClProcessFunc>( |
private_interface_->LaunchSelLdr); |
+ start_ppapi_proxy = reinterpret_cast<StartPpapiProxyFunc>( |
+ private_interface_->StartPpapiProxy); |
+ |
#if NACL_LINUX || NACL_OSX |
// Note that currently we do not need random numbers inside the |
// NaCl trusted plugin on Unix, but NaClSecureRngModuleInit() is |