mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 973805 part 1: Change #define classA classB to typedef classB classA, in some frame classes. r=dholbert
This commit is contained in:
parent
84283bddce
commit
eecc00c114
@ -22,7 +22,7 @@ IntPointDtorFunc(void *aObject, nsIAtom *aPropertyName,
|
||||
}
|
||||
|
||||
|
||||
#define nsImageControlFrameSuper nsImageFrame
|
||||
typedef nsImageFrame nsImageControlFrameSuper;
|
||||
class nsImageControlFrame : public nsImageControlFrameSuper,
|
||||
public nsIFormControlFrame
|
||||
{
|
||||
|
@ -70,7 +70,7 @@ class nsFirstLineFrame;
|
||||
* prepended to the overflow lines.
|
||||
*/
|
||||
|
||||
#define nsBlockFrameSuper nsContainerFrame
|
||||
typedef nsContainerFrame nsBlockFrameSuper;
|
||||
|
||||
/*
|
||||
* Base class for block and inline frames.
|
||||
|
@ -54,7 +54,7 @@ private:
|
||||
nsImageFrame *mFrame;
|
||||
};
|
||||
|
||||
#define ImageFrameSuper nsSplittableFrame
|
||||
typedef nsSplittableFrame ImageFrameSuper;
|
||||
|
||||
class nsImageFrame : public ImageFrameSuper,
|
||||
public nsIReflowCallback {
|
||||
|
@ -34,7 +34,7 @@ class LayerManager;
|
||||
}
|
||||
}
|
||||
|
||||
#define nsObjectFrameSuper nsFrame
|
||||
typedef nsFrame nsObjectFrameSuper;
|
||||
|
||||
class nsObjectFrame : public nsObjectFrameSuper,
|
||||
public nsIObjectFrame,
|
||||
|
Loading…
Reference in New Issue
Block a user