Fixing bustage from fantasai's patch. [p=bz]

This commit is contained in:
reed@reedloden.com 2007-10-01 23:24:26 -07:00
Родитель 404e205908
Коммит da3c159083
2 изменённых файлов: 2 добавлений и 7 удалений

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

@ -44,6 +44,7 @@
#include "nsAbsoluteContainingBlock.h"
#include "nsContainerFrame.h"
#include "nsIPresShell.h"
#include "nsHTMLContainerFrame.h"
#include "nsHTMLParts.h"
#include "nsPresContext.h"

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

@ -71,24 +71,20 @@ class nsAbsoluteContainingBlock
{
public:
nsAbsoluteContainingBlock(nsIAtom* aChildListName)
#ifdef DEBUG
: mChildListName(aChildListName)
#endif
{
NS_ASSERTION(mChildListName == nsGkAtoms::absoluteList ||
mChildListName == nsGkAtoms::fixedList,
"should either represent position:fixed or absolute content");
}
#ifdef DEBUG
nsIAtom* GetChildListName() const { return mChildListName; }
#endif
nsresult FirstChild(const nsIFrame* aDelegatingFrame,
nsIAtom* aListName,
nsIFrame** aFirstChild) const;
nsIFrame* GetFirstChild() { return mAbsoluteFrames.FirstChild(); }
nsresult SetInitialChildList(nsIFrame* aDelegatingFrame,
nsIAtom* aListName,
nsIFrame* aChildList);
@ -148,13 +144,11 @@ protected:
protected:
nsFrameList mAbsoluteFrames; // additional named child list
#ifdef DEBUG
nsIAtom* const mChildListName; // nsGkAtoms::fixedList or nsGkAtoms::absoluteList
// helper routine for debug printout
void PrettyUC(nscoord aSize,
char* aBuf);
#endif
};
#endif /* nsnsAbsoluteContainingBlock_h___ */