summaryrefslogtreecommitdiffstats
path: root/webbrowser/components/preferences/advanced.js
diff options
context:
space:
mode:
authorThomas Groman <tgroman@nuegia.net>2020-05-07 21:52:01 -0700
committerThomas Groman <tgroman@nuegia.net>2020-05-07 21:52:01 -0700
commitf8db70f7d61b90e2ed273b71559b6a5b3b62e5be (patch)
treecf937b622e4fb74a716aaa8b327224790b4f9496 /webbrowser/components/preferences/advanced.js
parent15f51c2ef494e2db935178123bb957267275af77 (diff)
downloadwebbrowser-f8db70f7d61b90e2ed273b71559b6a5b3b62e5be.tar
webbrowser-f8db70f7d61b90e2ed273b71559b6a5b3b62e5be.tar.gz
webbrowser-f8db70f7d61b90e2ed273b71559b6a5b3b62e5be.tar.lz
webbrowser-f8db70f7d61b90e2ed273b71559b6a5b3b62e5be.tar.xz
webbrowser-f8db70f7d61b90e2ed273b71559b6a5b3b62e5be.zip
group hardware accel settings
Diffstat (limited to 'webbrowser/components/preferences/advanced.js')
-rw-r--r--webbrowser/components/preferences/advanced.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/webbrowser/components/preferences/advanced.js b/webbrowser/components/preferences/advanced.js
index aab58b3..da5f8d1 100644
--- a/webbrowser/components/preferences/advanced.js
+++ b/webbrowser/components/preferences/advanced.js
@@ -51,6 +51,8 @@ var gAdvancedPane = {
this.updateActualCacheSize();
this.updateActualAppCacheSize();
+ this.updateHWADisplay();
+
// Notify observers that the UI is now ready
Services.obs.notifyObservers(window, "advanced-pane-loaded", null);
},
@@ -155,11 +157,7 @@ var gAdvancedPane = {
*/
updateHardwareAcceleration: function()
{
-#ifdef XP_WIN
- var fromPref = document.getElementById("layers.acceleration.disabled");
- var toPref = document.getElementById("gfx.direct2d.disabled");
- toPref.value = fromPref.value;
-#endif
+ this.updateHWADisplay();
},
// DATA CHOICES TAB