зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
43c2e6c27f
Коммит
f7b2001d62
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче