mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
Bug 1923790. Skip checking for combine 3d in GetResultingTransformMatrix when we already know there is no combine 3d. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D225171
This commit is contained in:
parent
888868356b
commit
f55cca95cd
@ -3269,6 +3269,9 @@ void nsIFrame::BuildDisplayListForStackingContext(
|
||||
if (!hasPerspective) {
|
||||
flags &= ~nsDisplayTransform::INCLUDE_PERSPECTIVE;
|
||||
}
|
||||
if (!combines3DTransformWithAncestors) {
|
||||
flags &= ~nsDisplayTransform::INCLUDE_PRESERVE3D_ANCESTORS;
|
||||
}
|
||||
auto transform = nsDisplayTransform::GetResultingTransformMatrix(
|
||||
this, nsPoint(), appPerDev, flags);
|
||||
nsRect untransformedDirtyRect;
|
||||
|
Loading…
x
Reference in New Issue
Block a user