Branch landing: Multithreading libmocha in mozilla.

- Remove reference to lm_crippled_context; add an accessor function instead.


git-svn-id: svn://10.0.0.236/trunk@11088 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mlm%netscape.com
1998-09-25 22:09:58 +00:00
parent 039d692684
commit 31361a78d0

View File

@@ -1027,8 +1027,6 @@ nsPluginInstancePeer::GetNPP()
return fNPP;
}
extern "C" JSContext *lm_crippled_context; /* XXX kill me */
JSContext *
nsPluginInstancePeer::GetJSContext(void)
{
@@ -1044,7 +1042,7 @@ nsPluginInstancePeer::GetJSContext(void)
}
else
{
pJSCX = lm_crippled_context;
pJSCX = LM_GetCrippledContext();
}
return pJSCX;
}