Bug 1467622 - P1: nsStyleSVGPaint - Change nscolor to StyleComplexColor. r=xidorn

MozReview-Commit-ID: 1bbQzOoOuBe
This commit is contained in:
Dan Glastonbury
2018-06-27 17:07:37 +10:00
parent 840c077c38
commit 3e9def79c3
13 changed files with 64 additions and 49 deletions

View File

@@ -1347,7 +1347,7 @@ struct nsRecessedBorder : public nsStyleBorder {
: nsStyleBorder(aPresContext)
{
NS_FOR_CSS_SIDES(side) {
BorderColorFor(side) = StyleComplexColor::FromColor(NS_RGB(0, 0, 0));
BorderColorFor(side) = StyleComplexColor::Black();
mBorder.Side(side) = aBorderWidth;
// Note: use SetBorderStyle here because we want to affect
// mComputedBorder