Issue #1925 - Rewrite NS_FOR_CSS_CORNERS to be similar to *_SIDES

- Renames it to NS_CSS_FULL_CORNERS and uses the one macro for all full
  corners. In preparation for giving half corners the same treatment.
- Swaps to prefix operator++
This commit is contained in:
Moonchild 2024-08-02 04:50:01 +02:00 • committed by roytam1
commit 0a7f42b452
4 changed files with 18 additions and 21 deletions

View file

@ -51,9 +51,6 @@ struct gfxRect :
case NS_CORNER_TOP_RIGHT: return TopRight();
case NS_CORNER_BOTTOM_RIGHT: return BottomRight();
case NS_CORNER_BOTTOM_LEFT: return BottomLeft();
default:
NS_ERROR("Invalid corner!");
break;
}
return gfxPoint(0.0, 0.0);
}