Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@237711 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
84747e8c86
commit
14d7820718
@ -1387,6 +1387,7 @@ nsObjectFrame::PrepareInstanceOwner()
|
||||
NS_ADDREF(mInstanceOwner);
|
||||
mInstanceOwner->Init(PresContext(), this, GetContent());
|
||||
|
||||
#ifdef OJI
|
||||
if (mContent->Tag() == nsGkAtoms::applet) {
|
||||
nsGlobalWindow *win =
|
||||
(nsGlobalWindow *)mContent->GetOwnerDoc()->GetScriptGlobalObject();
|
||||
@ -1399,6 +1400,7 @@ nsObjectFrame::PrepareInstanceOwner()
|
||||
win->InitJavaProperties();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user