From 5f807008d6cafac62d7d6527c7e36575c37c1f09 Mon Sep 17 00:00:00 2001 From: "cyeh%netscape.com" Date: Mon, 28 Sep 1998 20:26:20 +0000 Subject: [PATCH] removing old NSPR20 and MOCHA #ifdefs git-svn-id: svn://10.0.0.236/trunk@11250 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/modules/plugin/src/npglue.cpp | 8 -------- mozilla/modules/plugin/src/npglue.h | 2 -- 2 files changed, 10 deletions(-) diff --git a/mozilla/modules/plugin/src/npglue.cpp b/mozilla/modules/plugin/src/npglue.cpp index e1efb76dfa2..0e20d4a8fca 100644 --- a/mozilla/modules/plugin/src/npglue.cpp +++ b/mozilla/modules/plugin/src/npglue.cpp @@ -1923,12 +1923,8 @@ npn_memfree (void *ptr) #ifdef XP_MAC /* For the definition of CallCacheFlushers() */ -#ifndef NSPR20 -#include "prmacos.h" -#else #include "MacMemAllocator.h" #endif -#endif uint32 NP_EXPORT npn_memflush(uint32 size) @@ -2216,9 +2212,7 @@ npn_forceredraw(NPP npp) #define JRI_NO_CPLUSPLUS #define IMPLEMENT_netscape_plugin_Plugin #include "netscape_plugin_Plugin.h" -#ifdef MOCHA #include "libmocha.h" -#endif /* MOCHA */ #endif /* JAVA */ #if defined(XP_MAC) && !defined(powerc) @@ -2937,7 +2931,6 @@ np_newinstance(np_handle *handle, MWContext *cx, NPEmbeddedApp *app, */ #endif -#ifdef MOCHA { /* only wait on applets if onload flag */ lo_TopState *top_state = lo_FetchTopState(XP_DOCID(cx)); @@ -2963,7 +2956,6 @@ np_newinstance(np_handle *handle, MWContext *cx, NPEmbeddedApp *app, ET_SetPluginWindow(cx, (void *)instance); } } -#endif /* MOCHA */ return instance; diff --git a/mozilla/modules/plugin/src/npglue.h b/mozilla/modules/plugin/src/npglue.h index 23f12dce779..43ffe2da9d7 100644 --- a/mozilla/modules/plugin/src/npglue.h +++ b/mozilla/modules/plugin/src/npglue.h @@ -44,11 +44,9 @@ extern "C" { #include "prefapi.h" #include "proto.h" -#ifdef MOCHA #include "libmocha.h" #include "libevent.h" #include "layout.h" /* XXX From ../layout */ -#endif #ifdef LAYERS #include "layers.h"