Bug 1957634 - Remove obsolete TODO comment from the FramesWithDepth comparator. r=emilio DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D244337
This commit is contained in:
Jens Stutte
2025-04-03 13:37:43 +00:00
parent da22606da5
commit f16a35290c

View File

@@ -2346,7 +2346,6 @@ struct FramesWithDepth {
// We want to sort so that the shallowest item (highest depth value) is
// first. Round to have some error tolerance (multiply with 8 translates
// effectively to <<3).
// TODO: We might not want/need any tolerance here, see bug 1957561.
double lDepth = round(mDepth * 8.);
double rDepth = round(aOther.mDepth * 8.);
return lDepth > rDepth;