mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 897105 - Part 1: Add RectTyped::operator== to allow use in IPDL structs. r=roc
This commit is contained in:
parent
6e2bf125e3
commit
931b7f1c89
@ -124,6 +124,12 @@ struct RectTyped :
|
||||
RectTyped<UnknownUnits> ToUnknownRect() const {
|
||||
return RectTyped<UnknownUnits>(this->x, this->y, this->width, this->height);
|
||||
}
|
||||
|
||||
// This is here only to keep IPDL-generated code happy. DO NOT USE.
|
||||
bool operator==(const RectTyped<units>& aRect) const
|
||||
{
|
||||
return RectTyped<units>::IsEqualEdges(aRect);
|
||||
}
|
||||
};
|
||||
typedef RectTyped<UnknownUnits> Rect;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user