Bug 919225 - Move the gfxIntSize typedef to nsSize.h to allow limiting the amount of useless #including that it forces - r=jrmuizel

This commit is contained in:
Benoit Jacob 2013-09-24 16:45:13 -04:00
Родитель e5f7d1d148
Коммит 475818f81c
2 изменённых файлов: 1 добавлений и 2 удалений

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

@ -14,6 +14,7 @@
#define NS_MAXSIZE nscoord_MAX
struct nsIntSize;
typedef nsIntSize gfxIntSize;
struct nsSize : public mozilla::gfx::BaseSize<nscoord, nsSize> {
typedef mozilla::gfx::BaseSize<nscoord, nsSize> Super;

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

@ -14,8 +14,6 @@
#include "gfxTypes.h"
typedef nsIntSize gfxIntSize;
struct gfxSize : public mozilla::gfx::BaseSize<gfxFloat, gfxSize> {
typedef mozilla::gfx::BaseSize<gfxFloat, gfxSize> Super;