зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1726450 - Upgrade the 'two layers that scroll together' assertion to MOZ_ASSERT again. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D123016
This commit is contained in:
Родитель
980837755c
Коммит
c6e24a791e
|
@ -1414,9 +1414,9 @@ HitTestingTreeNode* APZCTreeManager::PrepareNodeForLayer(
|
|||
typedef TreeBuildingState::DeferredTransformMap::value_type PairType;
|
||||
if (!aAncestorTransform.ContainsPerspectiveTransform() &&
|
||||
!apzc->AncestorTransformContainsPerspective()) {
|
||||
NS_ASSERTION(false,
|
||||
"Two layers that scroll together have different ancestor "
|
||||
"transforms");
|
||||
MOZ_ASSERT(false,
|
||||
"Two layers that scroll together have different ancestor "
|
||||
"transforms");
|
||||
} else if (!aAncestorTransform.ContainsPerspectiveTransform()) {
|
||||
aState.mPerspectiveTransformsDeferredToChildren.insert(
|
||||
PairType{apzc, apzc->GetAncestorTransformPerspective()});
|
||||
|
|
Загрузка…
Ссылка в новой задаче