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
parent e5f7d1d148
commit 475818f81c
2 changed files with 1 additions and 2 deletions

View File

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

View File

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