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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user