Bug 571126: Remove NECKO_SEPARATE_STACKS support, r=jduell

This commit is contained in:
Brian Smith 2016-02-25 15:56:44 -08:00
parent 97e0d05c94
commit 1fb3c958e4

View File

@ -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;
}