зеркало из https://github.com/mozilla/gecko-dev.git
Fixing bustage from fantasai's patch. [p=bz]
This commit is contained in:
Родитель
404e205908
Коммит
da3c159083
|
@ -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___ */
|
||||
|
|
Загрузка…
Ссылка в новой задаче