From 31361a78d0a1be69545fccff77c86cb68d997076 Mon Sep 17 00:00:00 2001 From: "mlm%netscape.com" Date: Fri, 25 Sep 1998 22:09:58 +0000 Subject: [PATCH] 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 --- mozilla/modules/plugin/src/nsplugin.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mozilla/modules/plugin/src/nsplugin.cpp b/mozilla/modules/plugin/src/nsplugin.cpp index afebc39140c..4406312114f 100644 --- a/mozilla/modules/plugin/src/nsplugin.cpp +++ b/mozilla/modules/plugin/src/nsplugin.cpp @@ -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; }