| Index: src/trusted/service_runtime/sel_main_chrome.c
|
| diff --git a/src/trusted/service_runtime/sel_main_chrome.c b/src/trusted/service_runtime/sel_main_chrome.c
|
| index 7543bffcd13b741d696c9c418c6110b1c0993832..00cedce4f557ed209ea6df94b5d2fa69cbddf9b2 100644
|
| --- a/src/trusted/service_runtime/sel_main_chrome.c
|
| +++ b/src/trusted/service_runtime/sel_main_chrome.c
|
| @@ -44,6 +44,9 @@ struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void) {
|
| args->enable_exception_handling = 0;
|
| args->enable_debug_stub = 0;
|
| args->create_memory_object_func = NULL;
|
| +#if NACL_WINDOWS
|
| + args->broker_duplicate_handle_func = NULL;
|
| +#endif
|
| args->validation_cache = NULL;
|
| return args;
|
| }
|
| @@ -118,6 +121,11 @@ void NaClChromeMainStart(struct NaClChromeMainArgs *args) {
|
| if (args->create_memory_object_func != NULL)
|
| NaClSetCreateMemoryObjectFunc(args->create_memory_object_func);
|
|
|
| +#if NACL_WINDOWS
|
| + if (args->broker_duplicate_handle_func != NULL)
|
| + NaClSetBrokerDuplicateHandleFunc(args->broker_duplicate_handle_func);
|
| +#endif
|
| +
|
| /* Inject the validation caching interface, if it exists. */
|
| nap->validation_cache = args->validation_cache;
|
|
|
|
|