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 9c38628551823f557a58b4ac3c123a62430df51f..996b73c07ed662942bcdb74d20170d1629bf8778 100644 |
--- a/src/trusted/service_runtime/sel_main_chrome.c |
+++ b/src/trusted/service_runtime/sel_main_chrome.c |
@@ -59,6 +59,12 @@ void NaClChromeMainInit(void) { |
g_initialized = 1; |
} |
+void NaClChromeMainInitForNonSfi(void) { |
+ CHECK(!g_initialized); |
+ NaClAllModulesInitForNonSfi(); |
+ g_initialized = 1; |
+} |
+ |
struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void) { |
struct NaClChromeMainArgs *args; |