Chromium Code Reviews| Index: src/trusted/manifest_name_service_proxy/manifest_proxy.c |
| diff --git a/src/trusted/manifest_name_service_proxy/manifest_proxy.c b/src/trusted/manifest_name_service_proxy/manifest_proxy.c |
| index 31063d3550370b1ba519bee0927adcf14af348c5..617748d0b44e012d9eb029d1a2eb0cd2c9ab3d07 100644 |
| --- a/src/trusted/manifest_name_service_proxy/manifest_proxy.c |
| +++ b/src/trusted/manifest_name_service_proxy/manifest_proxy.c |
| @@ -16,7 +16,7 @@ |
| #include "native_client/src/trusted/reverse_service/reverse_control_rpc.h" |
| #include "native_client/src/trusted/service_runtime/include/sys/errno.h" |
| #include "native_client/src/trusted/service_runtime/include/sys/nacl_name_service.h" |
| -#include "native_client/src/trusted/service_runtime/sel_ldr.h" |
| +#include "native_client/src/trusted/service_runtime/nacl_secure_service.h" |
| static void NaClManifestWaitForChannel_yield_mu( |
| struct NaClManifestProxyConnection *self) { |
| @@ -350,10 +350,11 @@ int NaClManifestProxyConnectionFactory( |
| "NaClManifestProxyConnectionFactory invoked w/o reverse channel\n"); |
| } |
| NaClLog(4, "NaClManifestProxyConnectionFactory: inserting handler\n"); |
| - if (!NaClSecureReverseClientInsertHandler(nap->reverse_client, |
| - NaClManifestReverseClientCallback, |
| - (void *) mconn)) { |
| - NaClLog(LOG_FATAL, |
| + if (!(*NACL_VTBL(NaClSecureReverseClient, nap->reverse_client)-> |
| + InsertHandler)(nap->reverse_client, |
| + NaClManifestReverseClientCallback, |
| + (void *) mconn)) { |
| + NaClLog(LOG_FATAL, |
|
bsy
2012/09/24 22:47:18
fix indent
Petr Hosek
2012/09/25 18:06:10
Fixed.
|
| ("NaClManifestProxyConnectionFactory:" |
| " NaClSecureReverseClientInsertHandler failed\n")); |
| } |