Backed out changeset 24fe1880f83b (bug 1126090) for b2g test failures

This commit is contained in:
Wes Kocher 2015-02-03 16:50:14 -08:00
Родитель 8e4618102e
Коммит 11b34ce2cf
1 изменённых файлов: 1 добавлений и 7 удалений

Просмотреть файл

@ -3011,13 +3011,7 @@ EventStateManager::PostHandleEvent(nsPresContext* aPresContext,
}
WidgetWheelEvent* wheelEvent = aEvent->AsWheelEvent();
WheelPrefs::Action action = WheelPrefs::GetInstance()->ComputeActionFor(wheelEvent);
if (action == WheelPrefs::ACTION_SCROLL && gfxPrefs::AsyncPanZoomEnabled()) {
// When APZ is enabled, the actual scroll animation is handled by the
// compositor. Ignore it here.
action = WheelPrefs::ACTION_NONE;
}
switch (action) {
switch (WheelPrefs::GetInstance()->ComputeActionFor(wheelEvent)) {
case WheelPrefs::ACTION_SCROLL: {
// For scrolling of default action, we should honor the mouse wheel
// transaction.