Backout ea759b57d58a (bug 1223215 part 5) because the removed functions are still useful. r=me.

DONTBUILD because it just adds back a couple of small, unused functions.
This commit is contained in:
Nicholas Nethercote 2015-11-10 20:36:29 -08:00
Родитель 43c2e6c27f
Коммит f7b2001d62
1 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -51,11 +51,21 @@ 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);