Fixing build bustage.

git-svn-id: svn://10.0.0.236/trunk@237711 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%mozilla.org 2007-10-13 17:10:30 +00:00
parent 84747e8c86
commit 14d7820718

View File

@ -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;
}