Bug 1215494 - Don't set b2g.safe_mode pref in child process. r=fabrice

This commit is contained in:
Gregor Wagner 2015-12-03 18:23:22 +01:00
parent 3dfc2cff96
commit 92c181e810

View File

@ -848,7 +848,9 @@ nsAppShell::nsAppShell()
, mPowerKeyChecked(false)
{
gAppShell = this;
Preferences::SetCString("b2g.safe_mode", "unset");
if (XRE_IsParentProcess()) {
Preferences::SetCString("b2g.safe_mode", "unset");
}
}
nsAppShell::~nsAppShell()