Bug 973805 part 1: Change #define classA classB to typedef classB classA, in some frame classes. r=dholbert

This commit is contained in:
Arnaud Sourioux 2014-02-19 00:21:56 -08:00
parent 84283bddce
commit eecc00c114
4 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ IntPointDtorFunc(void *aObject, nsIAtom *aPropertyName,
}
#define nsImageControlFrameSuper nsImageFrame
typedef nsImageFrame nsImageControlFrameSuper;
class nsImageControlFrame : public nsImageControlFrameSuper,
public nsIFormControlFrame
{

View File

@ -70,7 +70,7 @@ class nsFirstLineFrame;
* prepended to the overflow lines.
*/
#define nsBlockFrameSuper nsContainerFrame
typedef nsContainerFrame nsBlockFrameSuper;
/*
* Base class for block and inline frames.

View File

@ -54,7 +54,7 @@ private:
nsImageFrame *mFrame;
};
#define ImageFrameSuper nsSplittableFrame
typedef nsSplittableFrame ImageFrameSuper;
class nsImageFrame : public ImageFrameSuper,
public nsIReflowCallback {

View File

@ -34,7 +34,7 @@ class LayerManager;
}
}
#define nsObjectFrameSuper nsFrame
typedef nsFrame nsObjectFrameSuper;
class nsObjectFrame : public nsObjectFrameSuper,
public nsIObjectFrame,