summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webbrowser/components/nsBrowserGlue.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webbrowser/components/nsBrowserGlue.js b/webbrowser/components/nsBrowserGlue.js
index 1b6cf92..2bb71e1 100644
--- a/webbrowser/components/nsBrowserGlue.js
+++ b/webbrowser/components/nsBrowserGlue.js
@@ -1251,7 +1251,7 @@ if (currentUIVersion < 21) {
// Reset hardware accelleration settings now that UXP isn't blacklisting as much
if (Services.prefs.prefHasUserValue("layers.acceleration.disabled")) {
- let HWADisabled = Service.prefs.getBoolPref("layers.acceleration.disabled");
+ let HWADisabled = Services.prefs.getBoolPref("layers.acceleration.disabled");
Services.prefs.setBoolPref("layers.acceleration.enabled", !HWADisabled);
Services.prefs.setBoolPref("gfx.direct2d.disabled", HWADisabled);
}