mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1215494 - Don't set b2g.safe_mode pref in child process. r=fabrice
This commit is contained in:
parent
3dfc2cff96
commit
92c181e810
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user