Bug 1841729 - Change the return type of BaseMargin::{LeftRight,TopBottom}() to Coord. r=botond

Differential Revision: https://phabricator.services.mozilla.com/D183570
This commit is contained in:
Razvan Cojocaru 2023-07-17 21:18:17 +00:00
Родитель ed1dbb5332
Коммит d198960808
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -76,8 +76,8 @@ struct BaseMargin {
left = aLeft;
}
T LeftRight() const { return left + right; }
T TopBottom() const { return top + bottom; }
Coord LeftRight() const { return left + right; }
Coord TopBottom() const { return top + bottom; }
Coord& Side(SideT aSide) {
// This is ugly!