Bug 1626111 - Fix two variable names in Matrix4x4TypedFlagged::TransformAndClipBounds. r=bas

Differential Revision: https://phabricator.services.mozilla.com/D68930

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Markus Stange 2020-04-02 04:01:01 +00:00
Родитель d00525a3a9
Коммит 04fd0b27d7
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -1948,10 +1948,10 @@ class Matrix4x4TypedFlagged
F max_y = std::max(std::max(std::max(p1.y, p2.y), p3.y), p4.y);
TargetPoint topLeft(std::max(min_x, aClip.x), std::max(min_y, aClip.y));
F xMost = std::min(max_x, aClip.XMost()) - topLeft.x;
F yMost = std::min(max_y, aClip.YMost()) - topLeft.y;
F width = std::min(max_x, aClip.XMost()) - topLeft.x;
F height = std::min(max_y, aClip.YMost()) - topLeft.y;
return RectTyped<TargetUnits, F>(topLeft.x, topLeft.y, xMost, yMost);
return RectTyped<TargetUnits, F>(topLeft.x, topLeft.y, width, height);
}
return Parent::TransformAndClipBounds(aRect, aClip);
}