зеркало из https://github.com/mozilla/gecko-dev.git
Changed all the places that previously accessed mBorderStyle and mBorderColor
with the new methods added in nsStyleSpacing
This commit is contained in:
Родитель
6b7934f14f
Коммит
d87392317e
|
@ -571,14 +571,17 @@ struct nsRecessedBorder : public nsStyleSpacing {
|
|||
mBorder.SetTop(styleCoord);
|
||||
mBorder.SetRight(styleCoord);
|
||||
mBorder.SetBottom(styleCoord);
|
||||
|
||||
mBorderStyle[0] = NS_STYLE_BORDER_STYLE_INSET;
|
||||
mBorderStyle[1] = NS_STYLE_BORDER_STYLE_INSET;
|
||||
mBorderStyle[2] = NS_STYLE_BORDER_STYLE_INSET;
|
||||
mBorderStyle[3] = NS_STYLE_BORDER_STYLE_INSET;
|
||||
|
||||
mBorderColor[0] = 0;
|
||||
mBorderColor[1] = 0;
|
||||
mBorderColor[2] = 0;
|
||||
mBorderColor[3] = 0;
|
||||
|
||||
mHasCachedMargin = mHasCachedPadding = mHasCachedBorder = PR_FALSE;
|
||||
}
|
||||
};
|
||||
|
|
|
@ -571,14 +571,17 @@ struct nsRecessedBorder : public nsStyleSpacing {
|
|||
mBorder.SetTop(styleCoord);
|
||||
mBorder.SetRight(styleCoord);
|
||||
mBorder.SetBottom(styleCoord);
|
||||
|
||||
mBorderStyle[0] = NS_STYLE_BORDER_STYLE_INSET;
|
||||
mBorderStyle[1] = NS_STYLE_BORDER_STYLE_INSET;
|
||||
mBorderStyle[2] = NS_STYLE_BORDER_STYLE_INSET;
|
||||
mBorderStyle[3] = NS_STYLE_BORDER_STYLE_INSET;
|
||||
|
||||
mBorderColor[0] = 0;
|
||||
mBorderColor[1] = 0;
|
||||
mBorderColor[2] = 0;
|
||||
mBorderColor[3] = 0;
|
||||
|
||||
mHasCachedMargin = mHasCachedPadding = mHasCachedBorder = PR_FALSE;
|
||||
}
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче