Bug 1223215 (part 5) - Remove ToSize() and ThebesSize(). r=jrmuizel.

This commit is contained in:
Nicholas Nethercote 2015-11-08 21:13:36 -08:00
parent 016b3e7be2
commit 3e06c61b01

View File

@ -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);