From 5aa65d2aeab36ea8de8129c0babcf70a5e4e662a Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sun, 20 Feb 2022 22:00:59 +0000 Subject: Issue #1877 - Resolve NIGHTLY_BUILD conditionals. --- dom/base/Navigator.cpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'dom/base/Navigator.cpp') diff --git a/dom/base/Navigator.cpp b/dom/base/Navigator.cpp index 5ad763af76..3972abc688 100644 --- a/dom/base/Navigator.cpp +++ b/dom/base/Navigator.cpp @@ -1346,14 +1346,9 @@ Navigator::HasUserMediaSupport(JSContext* /* unused */, bool Navigator::IsE10sEnabled(JSContext* aCx, JSObject* aGlobal) { - return XRE_IsContentProcess(); -} - -bool -Navigator::MozE10sEnabled() -{ - // This will only be called if IsE10sEnabled() is true. - return true; + // We no longer support this, so always false. + // TODO: Remove this. + return false; } /* static */ -- cgit v1.2.3