enable OJI on unix.

git-svn-id: svn://10.0.0.236/trunk@26699 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
toshok%hungry.com 1999-04-07 05:20:54 +00:00
parent e5bd2cf307
commit c50be7f384
2 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@
#include "nsFileSpec.h"
#include "nsCOMPtr.h"
#if defined(OJI) && !defined(XP_UNIX)
#if defined(OJI)
#include "nsIDocument.h"
#include "nsIScriptContextOwner.h"
#include "nsIScriptGlobalObject.h"
@ -761,7 +761,7 @@ NS_IMETHODIMP nsPluginInstancePeerImpl::GetJSWindow(JSObject* *outJSWindow)
{
*outJSWindow = NULL;
nsresult rv = NS_ERROR_FAILURE;
#if defined(OJI) && !defined(XP_UNIX)
#if defined(OJI)
nsIDocument* document = nsnull;
if (mOwner->GetDocument(&document) == NS_OK) {
nsIScriptContextOwner* contextOwner = document->GetScriptContextOwner();

View File

@ -27,7 +27,7 @@
#include "nsFileSpec.h"
#include "nsCOMPtr.h"
#if defined(OJI) && !defined(XP_UNIX)
#if defined(OJI)
#include "nsIDocument.h"
#include "nsIScriptContextOwner.h"
#include "nsIScriptGlobalObject.h"
@ -761,7 +761,7 @@ NS_IMETHODIMP nsPluginInstancePeerImpl::GetJSWindow(JSObject* *outJSWindow)
{
*outJSWindow = NULL;
nsresult rv = NS_ERROR_FAILURE;
#if defined(OJI) && !defined(XP_UNIX)
#if defined(OJI)
nsIDocument* document = nsnull;
if (mOwner->GetDocument(&document) == NS_OK) {
nsIScriptContextOwner* contextOwner = document->GetScriptContextOwner();