| Index: ppapi/native_client/src/trusted/plugin/module_ppapi.cc
|
| diff --git a/ppapi/native_client/src/trusted/plugin/module_ppapi.cc b/ppapi/native_client/src/trusted/plugin/module_ppapi.cc
|
| index bb2acfd9969c523f154008bfbd83ab2effa5e7b5..d292121bd5f31387f0a0af1210ad273fcd326eeb 100644
|
| --- a/ppapi/native_client/src/trusted/plugin/module_ppapi.cc
|
| +++ b/ppapi/native_client/src/trusted/plugin/module_ppapi.cc
|
| @@ -4,6 +4,7 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| +#include "native_client/src/shared/imc/nacl_imc_c.h"
|
| #include "native_client/src/shared/platform/nacl_time.h"
|
| #include "native_client/src/trusted/desc/nrd_all_modules.h"
|
| #include "native_client/src/trusted/handle_pass/browser_handle.h"
|
| @@ -56,8 +57,15 @@ class ModulePpapi : public pp::Module {
|
| NaClSrpcModuleInit();
|
|
|
| #if NACL_WINDOWS && !defined(NACL_STANDALONE)
|
| + // TODO(mseaborn): Remove this call because NaCl's handle_pass
|
| + // module is replaced by Chrome's BrokerDuplicateHandle()
|
| + // function. The call to NaClHandlePassBrowserRememberHandle() on
|
| + // the NaCl side will have to be removed first.
|
| NaClHandlePassBrowserInit();
|
| +
|
| + NaClSetBrokerDuplicateHandleFunc(private_interface_->BrokerDuplicateHandle);
|
| #endif
|
| +
|
| init_was_successful_ = true;
|
| return true;
|
| }
|
|
|