Bug 1124099 - Make sure that we skip over scrollinfo layers properly with event-regions disabled. r=botond

This commit is contained in:
Kartikaya Gupta 2015-01-23 15:12:10 -05:00
Родитель 50d4ca7f94
Коммит 7c4e682123
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -1371,6 +1371,10 @@ APZCTreeManager::GetAPZCAtPoint(HitTestingTreeNode* aNode,
}
if (result == prevSiblingApzc) {
APZCTM_LOG("Continuing search past probable scrollinfo info layer\n");
// We need to reset aOutHitResult in order to keep searching. This is
// ok because we know that we will at least hit prevSiblingApzc
// again, which is the same as result.
*aOutHitResult = HitNothing;
continue;
}
}