| 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..1c1b06d00c0a2a66b1ecad0658bf845f8e5319c2 100644
|
| --- a/src/trusted/service_runtime/sel_main_chrome.c
|
| +++ b/src/trusted/service_runtime/sel_main_chrome.c
|
| @@ -45,6 +45,9 @@ struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void) {
|
| args->enable_debug_stub = 0;
|
| args->create_memory_object_func = NULL;
|
| args->validation_cache = NULL;
|
| +#if NACL_WINDOWS
|
| + args->broker_duplicate_handle_func = NULL;
|
| +#endif
|
| return args;
|
| }
|
|
|
| @@ -121,6 +124,11 @@ void NaClChromeMainStart(struct NaClChromeMainArgs *args) {
|
| /* Inject the validation caching interface, if it exists. */
|
| nap->validation_cache = args->validation_cache;
|
|
|
| +#if NACL_WINDOWS
|
| + if (args->broker_duplicate_handle_func != NULL)
|
| + NaClSetBrokerDuplicateHandleFunc(args->broker_duplicate_handle_func);
|
| +#endif
|
| +
|
| NaClAppInitialDescriptorHookup(nap);
|
|
|
| /*
|
|
|