summaryrefslogtreecommitdiffstats
path: root/webbrowser/components/preferences/advanced.js
diff options
context:
space:
mode:
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