enable OJI on unix.
git-svn-id: svn://10.0.0.236/trunk@26699 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e5bd2cf307
commit
c50be7f384
@ -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();
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user