mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1223215 (part 5) - Remove ToSize() and ThebesSize(). r=jrmuizel.
This commit is contained in:
parent
016b3e7be2
commit
3e06c61b01
@ -51,21 +51,11 @@ inline Point ToPoint(const gfxPoint &aPoint)
|
||||
return Point(Float(aPoint.x), Float(aPoint.y));
|
||||
}
|
||||
|
||||
inline Size ToSize(const gfxSize &aSize)
|
||||
{
|
||||
return Size(Float(aSize.width), Float(aSize.height));
|
||||
}
|
||||
|
||||
inline gfxPoint ThebesPoint(const Point &aPoint)
|
||||
{
|
||||
return gfxPoint(aPoint.x, aPoint.y);
|
||||
}
|
||||
|
||||
inline gfxSize ThebesSize(const Size &aSize)
|
||||
{
|
||||
return gfxSize(aSize.width, aSize.height);
|
||||
}
|
||||
|
||||
inline gfxRect ThebesRect(const Rect &aRect)
|
||||
{
|
||||
return gfxRect(aRect.x, aRect.y, aRect.width, aRect.height);
|
||||
|
Loading…
Reference in New Issue
Block a user