Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1219)

Unified Diff: tests/sel_main_chrome/sel_main_chrome_test.cc

Issue 135853021: NaCl: Expose NaClApp to embedding layer. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Update test also Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/sel_main_chrome/sel_main_chrome_test.cc
diff --git a/tests/sel_main_chrome/sel_main_chrome_test.cc b/tests/sel_main_chrome/sel_main_chrome_test.cc
index b3092e06e4809f0e15ea72ee4df8893175c71371..be5dbddcab516e3b68549c41ce9c9e64cf8b44c2 100644
--- a/tests/sel_main_chrome/sel_main_chrome_test.cc
+++ b/tests/sel_main_chrome/sel_main_chrome_test.cc
@@ -135,7 +135,8 @@ int main(int argc, char **argv) {
CHECK(NaClThreadCtor(&thread, DummyRendererThread, &thread_args,
NACL_KERN_STACK_SIZE));
- NaClChromeMainStart(args);
+ struct NaClApp *nap = NaClAppCreate();
dmichael (off chromium) 2014/01/16 21:30:26 Here too... can you just do it on the stack?
+ NaClChromeMainStartApp(nap, args);
NaClLog(LOG_FATAL, "NaClChromeMainStart() should never return\n");
return 1;
}

Powered by Google App Engine
This is Rietveld 408576698