зеркало из https://github.com/mozilla/gecko-dev.git
Change JAVA ifdef's to OJI to distinguish between OJI and tightly integrated JAVA
This commit is contained in:
Родитель
b5a3a9124e
Коммит
ef10043270
|
@ -25,7 +25,7 @@
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "npglue.h"
|
#include "npglue.h"
|
||||||
#ifdef JAVA
|
#ifdef OJI
|
||||||
#include "jvmmgr.h"
|
#include "jvmmgr.h"
|
||||||
#endif
|
#endif
|
||||||
#include "xp_mem.h"
|
#include "xp_mem.h"
|
||||||
|
@ -154,7 +154,7 @@ NPIJVMPluginManager*
|
||||||
nsPluginManager::GetJVMMgr(const nsIID& aIID)
|
nsPluginManager::GetJVMMgr(const nsIID& aIID)
|
||||||
{
|
{
|
||||||
NPIJVMPluginManager* result = NULL;
|
NPIJVMPluginManager* result = NULL;
|
||||||
#ifdef JAVA
|
#ifdef OJI
|
||||||
if (fJVMMgr == NULL) {
|
if (fJVMMgr == NULL) {
|
||||||
// The plugin manager is the outer of the JVM manager
|
// The plugin manager is the outer of the JVM manager
|
||||||
if (JVMMgr::Create(this, kISupportsIID, (void**)&fJVMMgr) != NS_OK)
|
if (JVMMgr::Create(this, kISupportsIID, (void**)&fJVMMgr) != NS_OK)
|
||||||
|
@ -197,7 +197,7 @@ nsPluginInstancePeer::AggregatedQueryInterface(const nsIID& aIID, void** aInstan
|
||||||
AddRef();
|
AddRef();
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
#ifdef JAVA
|
#ifdef OJI
|
||||||
// Aggregates...
|
// Aggregates...
|
||||||
if (fJVMInstancePeer == NULL) {
|
if (fJVMInstancePeer == NULL) {
|
||||||
np_instance* instance = (np_instance*) npp->ndata;
|
np_instance* instance = (np_instance*) npp->ndata;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче