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
7f31dc18b2
commit
410dfb294b
@ -848,7 +848,9 @@ nsAppShell::nsAppShell()
|
|||||||
, mPowerKeyChecked(false)
|
, mPowerKeyChecked(false)
|
||||||
{
|
{
|
||||||
gAppShell = this;
|
gAppShell = this;
|
||||||
Preferences::SetCString("b2g.safe_mode", "unset");
|
if (XRE_IsParentProcess()) {
|
||||||
|
Preferences::SetCString("b2g.safe_mode", "unset");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
nsAppShell::~nsAppShell()
|
nsAppShell::~nsAppShell()
|
||||||
|
Loading…
Reference in New Issue
Block a user