mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 11:58:55 +00:00
Bug 571126: Remove NECKO_SEPARATE_STACKS support, r=jduell
This commit is contained in:
parent
57f2a2f2d3
commit
0005663935
@ -90,13 +90,8 @@ IsNeckoChild()
|
||||
static bool amChild = false;
|
||||
|
||||
if (!didCheck) {
|
||||
// This allows independent necko-stacks (instead of single stack in chrome)
|
||||
// to still be run.
|
||||
// TODO: Remove eventually when no longer supported (bug 571126)
|
||||
const char * e = PR_GetEnv("NECKO_SEPARATE_STACKS");
|
||||
if (!e)
|
||||
amChild = XRE_IsContentProcess();
|
||||
didCheck = true;
|
||||
amChild = (XRE_GetProcessType() == GeckoProcessType_Content);
|
||||
}
|
||||
return amChild;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user