mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
Issue #1925 - Follow-up: Fix debug builds (namespace)
This commit is contained in:
parent
8e3c07960d
commit
5bd7896c05
1 changed files with 2 additions and 2 deletions
|
|
@ -1259,13 +1259,13 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleBorder
|
||||||
|
|
||||||
uint8_t GetBorderStyle(mozilla::Side aSide) const
|
uint8_t GetBorderStyle(mozilla::Side aSide) const
|
||||||
{
|
{
|
||||||
NS_ASSERTION(aSide <= eSideLeft, "bad side");
|
NS_ASSERTION(aSide <= mozilla::eSideLeft, "bad side");
|
||||||
return mBorderStyle[aSide];
|
return mBorderStyle[aSide];
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetBorderStyle(mozilla::Side aSide, uint8_t aStyle)
|
void SetBorderStyle(mozilla::Side aSide, uint8_t aStyle)
|
||||||
{
|
{
|
||||||
NS_ASSERTION(aSide <= eSideLeft, "bad side");
|
NS_ASSERTION(aSide <= mozilla::eSideLeft, "bad side");
|
||||||
mBorderStyle[aSide] = aStyle;
|
mBorderStyle[aSide] = aStyle;
|
||||||
mComputedBorder.Side(aSide) =
|
mComputedBorder.Side(aSide) =
|
||||||
(HasVisibleStyle(aSide) ? mBorder.Side(aSide) : 0);
|
(HasVisibleStyle(aSide) ? mBorder.Side(aSide) : 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue