Bug 909482 - Fix for getViewId exception when running without apz. r=botond

This commit is contained in:
Jim Mathies 2013-08-26 16:00:33 -05:00
parent c395678743
commit 6df348d3d3

View File

@ -554,7 +554,9 @@ let ContentScroll = {
addMessageListener("Content:SetCacheViewport", this);
addMessageListener("Content:SetWindowSize", this);
addEventListener("scroll", this, false);
if (Services.prefs.getBoolPref("layers.async-pan-zoom.enabled")) {
addEventListener("scroll", this, false);
}
addEventListener("pagehide", this, false);
addEventListener("MozScrolledAreaChanged", this, false);
},