mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 23:30:46 +00:00
fix a search-and-replace mistake that was hiding in an #ifdef
This commit is contained in:
parent
01d3066654
commit
b7e17c9d8f
@ -250,11 +250,11 @@ nsXPConnect::ReleaseXPConnectSingleton()
|
||||
if(GetRuntime() && GetRuntime()->GetJSRuntime())
|
||||
{
|
||||
AutoPushCompatibleJSContext a(GetRuntime()->GetJSRuntime());
|
||||
if(a.GetSafeJSContext())
|
||||
if(a.GetJSContext())
|
||||
{
|
||||
FILE* oldFileHandle = js_DumpGCHeap;
|
||||
js_DumpGCHeap = stdout;
|
||||
js_ForceGC(a.GetSafeJSContext());
|
||||
js_ForceGC(a.GetJSContext());
|
||||
js_DumpGCHeap = oldFileHandle;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user