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

Unified Diff: ppapi/nacl_irt/irt_ppapi.cc

Issue 799023003: NaCl cleanup: Remove assignment to g_is_main_thread (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « ppapi/nacl_irt/DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/nacl_irt/irt_ppapi.cc
diff --git a/ppapi/nacl_irt/irt_ppapi.cc b/ppapi/nacl_irt/irt_ppapi.cc
index ce17f8a1ef5de9e33be84f49c61aa3e523b5d660..896756f3da5af63117c437682df94fd54e0d5b5b 100644
--- a/ppapi/nacl_irt/irt_ppapi.cc
+++ b/ppapi/nacl_irt/irt_ppapi.cc
@@ -8,7 +8,6 @@
#include "native_client/src/public/irt_core.h"
#include "native_client/src/trusted/service_runtime/include/sys/unistd.h"
#include "native_client/src/untrusted/irt/irt.h"
-#include "native_client/src/untrusted/irt/irt_private.h"
#include "ppapi/nacl_irt/irt_manifest.h"
#include "ppapi/nacl_irt/irt_ppapi.h"
#include "ppapi/nacl_irt/plugin_main.h"
@@ -18,14 +17,6 @@
static struct PP_StartFunctions g_pp_functions;
int irt_ppapi_start(const struct PP_StartFunctions* funcs) {
-#if !defined(OS_NACL_NONSFI)
- // Disable NaCl's open_resource() interface on this thread.
- // TODO(hidehiko): This flag is no longer used because, even in SFI mode,
- // we switched from SRPC to Chrome IPC for open_resource() implementation.
- // Remove this flag.
- g_is_main_thread = 1;
-#endif
-
g_pp_functions = *funcs;
return PpapiPluginMain();
}
« no previous file with comments | « ppapi/nacl_irt/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698