summaryrefslogtreecommitdiff
path: root/dom
diff options
context:
space:
mode:
authorJob Bautista <jobbautista9@aol.com>2023-05-12 16:28:57 +0800
committerJob Bautista <jobbautista9@aol.com>2023-05-12 16:28:57 +0800
commitccb51f2f40205d913bcb0baa76b1dbd8dc2c81ed (patch)
treeaa0bc5bbfca8ebe8ace0056c3724be6269c0d777 /dom
parentecf05312e6e9b13bbf11781acd8e52788a77a943 (diff)
downloaduxp-ccb51f2f40205d913bcb0baa76b1dbd8dc2c81ed.tar.gz
Issue #2241 - Part 8: Remove non-working layout.css.DOM*.enabled prefs.
A follow-up to fdfe7a8245eb33db252f2a9a3474ac931f15a7d8.
Diffstat (limited to 'dom')
-rw-r--r--dom/base/WebKitCSSMatrix.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/dom/base/WebKitCSSMatrix.cpp b/dom/base/WebKitCSSMatrix.cpp
index 003fdfea30..15ca6ba776 100644
--- a/dom/base/WebKitCSSMatrix.cpp
+++ b/dom/base/WebKitCSSMatrix.cpp
@@ -20,8 +20,7 @@ static const double sRadPerDegree = 2.0 * M_PI / 360.0;
bool
WebKitCSSMatrix::FeatureEnabled(JSContext* aCx, JSObject* aObj)
{
- return Preferences::GetBool("layout.css.DOMMatrix.enabled", false) &&
- Preferences::GetBool("layout.css.prefixes.webkit", false);
+ return Preferences::GetBool("layout.css.prefixes.webkit", false);
}
already_AddRefed<WebKitCSSMatrix>