Bug 979314, fix pointer events pref handling in presshell, r=mccr8

--HG--
extra : rebase_source : 9ce2767a077bfdf623186580d4793b73907e69bd
This commit is contained in:
Olli Pettay 2014-03-04 23:49:02 +02:00
parent dc81f67e51
commit feda56aef2

View File

@ -739,7 +739,7 @@ PresShell::PresShell()
addedSynthMouseMove = true;
}
static bool addedPointerEventEnabled = false;
if (addedPointerEventEnabled) {
if (!addedPointerEventEnabled) {
Preferences::AddBoolVarCache(&sPointerEventEnabled,
"dom.w3c_pointer_events.enabled", true);
addedPointerEventEnabled = true;