diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-06-07 12:40:36 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-06-07 12:40:36 +0200 |
commit | 19c0f5e9ff625c6a67e5e0a08f0a800782168492 (patch) | |
tree | 1a22e9a38d845fb37a8c845a57db6f5ccb239ffa /dom/ipc/ContentParent.cpp | |
parent | 3f1ef7a67d42d5dfd93088d74480222e781e3840 (diff) | |
download | UXP-19c0f5e9ff625c6a67e5e0a08f0a800782168492.tar UXP-19c0f5e9ff625c6a67e5e0a08f0a800782168492.tar.gz UXP-19c0f5e9ff625c6a67e5e0a08f0a800782168492.tar.lz UXP-19c0f5e9ff625c6a67e5e0a08f0a800782168492.tar.xz UXP-19c0f5e9ff625c6a67e5e0a08f0a800782168492.zip |
Remove e10s force-enable/-disable prefs and a11y considerations for
starting in e10s mode.
This resolves #1130
Diffstat (limited to 'dom/ipc/ContentParent.cpp')
-rw-r--r-- | dom/ipc/ContentParent.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/dom/ipc/ContentParent.cpp b/dom/ipc/ContentParent.cpp index 79446151c..97e3a4880 100644 --- a/dom/ipc/ContentParent.cpp +++ b/dom/ipc/ContentParent.cpp @@ -229,11 +229,6 @@ static NS_DEFINE_CID(kCClipboardCID, NS_CLIPBOARD_CID); -#if defined(XP_WIN) -// e10s forced enable pref, defined in nsAppRunner.cpp -extern const char* kForceEnableE10sPref; -#endif - using base::ChildPrivileges; using base::KillProcess; @@ -1275,12 +1270,6 @@ ContentParent::Init() if (nsIPresShell::IsAccessibilityActive()) { #if !defined(XP_WIN) Unused << SendActivateA11y(0); -#else - // On Windows we currently only enable a11y in the content process - // for testing purposes. - if (Preferences::GetBool(kForceEnableE10sPref, false)) { - Unused << SendActivateA11y(a11y::AccessibleWrap::GetContentProcessIdFor(ChildID())); - } #endif } #endif @@ -2573,12 +2562,6 @@ ContentParent::Observe(nsISupports* aSubject, // accessibility gets initiated in chrome process. #if !defined(XP_WIN) Unused << SendActivateA11y(0); -#else - // On Windows we currently only enable a11y in the content process - // for testing purposes. - if (Preferences::GetBool(kForceEnableE10sPref, false)) { - Unused << SendActivateA11y(a11y::AccessibleWrap::GetContentProcessIdFor(ChildID())); - } #endif } else { // If possible, shut down accessibility in content process when |