Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65b08577 authored by Patrick Williams's avatar Patrick Williams Committed by Android (Google) Code Review
Browse files

Merge "SF: Remove unnecessary updateSnapshot call"

parents 321f53fb 258446dd
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -1563,8 +1563,6 @@ void Layer::setChildrenDrawingParent(const sp<Layer>& newParent) {
                newParent->canDrawShadows() ? 0.f : newParent->mEffectiveShadowRadius;
                newParent->canDrawShadows() ? 0.f : newParent->mEffectiveShadowRadius;
        child->computeBounds(newParent->mBounds, newParent->mEffectiveTransform,
        child->computeBounds(newParent->mBounds, newParent->mEffectiveTransform,
                             parentShadowRadius);
                             parentShadowRadius);
        child->updateSnapshot(true /* updateGeometry */);
        child->updateChildrenSnapshots(true /* updateGeometry */);
    }
    }
}
}