зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
ed1dbb5332
Коммит
d198960808
|
@ -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!
|
||||
|
|
Загрузка…
Ссылка в новой задаче