summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/ppb_nacl_private_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins/ppapi/ppb_nacl_private_impl.cc')
-rw-r--r--webkit/plugins/ppapi/ppb_nacl_private_impl.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/ppb_nacl_private_impl.cc b/webkit/plugins/ppapi/ppb_nacl_private_impl.cc
index 90e097c..bed8c5a 100644
--- a/webkit/plugins/ppapi/ppb_nacl_private_impl.cc
+++ b/webkit/plugins/ppapi/ppb_nacl_private_impl.cc
@@ -16,8 +16,12 @@ namespace {
bool LaunchSelLdr(const char* alleged_url, int socket_count,
void* imc_handles, void* nacl_process_handle,
int* nacl_process_id) {
+#if !defined(DISABLE_NACL)
return webkit_glue::LaunchSelLdr(alleged_url, socket_count, imc_handles,
nacl_process_handle, nacl_process_id);
+#else
+ return 0;
+#endif
}
int UrandomFD(void) {