End the mouse wheel scrolling transaction when forcing "passToParent" for a combobox (fixes an assertion). b=398334 r=masayuki sr=roc a1.9=beltzner

git-svn-id: svn://10.0.0.236/trunk@247903 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mats.palmgren%bredband.net 2008-03-15 08:52:18 +00:00
parent e3d589cff1
commit da90c12af9

View File

@ -2188,7 +2188,10 @@ nsEventStateManager::DoScrollText(nsPresContext* aPresContext,
}
} else {
// Always propagate when not dropped down (even if focused).
passToParent = PR_TRUE;
if (!passToParent) {
passToParent = PR_TRUE;
nsMouseWheelTransaction::EndTransaction();
}
}
}
}