mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
Bug 1534459 - Enable assertion about nested async zoom containers. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D98556
This commit is contained in:
parent
460c8c2214
commit
b8d4e0b10e
@ -572,12 +572,8 @@ APZCTreeManager::UpdateHitTestingTreeImpl(const ScrollNode& aRoot,
|
||||
*mAsyncZoomContainerSubtree),
|
||||
"If there is an async zoom container, all scroll nodes with root "
|
||||
"content scroll metadata should be inside it");
|
||||
// TODO(bug 1534459): Avoid nested async zoom containers. They
|
||||
// can't currently occur in production code, but that will become
|
||||
// possible with either OOP iframes or desktop zooming (due to
|
||||
// RDM), and will need to be guarded against.
|
||||
// MOZ_ASSERT(!haveNestedAsyncZoomContainers,
|
||||
// "Should not have nested async zoom container");
|
||||
MOZ_ASSERT(!haveNestedAsyncZoomContainers,
|
||||
"Should not have nested async zoom container");
|
||||
|
||||
// If we have perspective transforms deferred to children, do another
|
||||
// walk of the tree and actually apply them to the children.
|
||||
|
Loading…
Reference in New Issue
Block a user