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
parent 50d4ca7f94
commit 7c4e682123

View File

@ -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;
}
}