зеркало из https://github.com/mozilla/gecko-dev.git
Removed List code now that base class dumps all child lists
This commit is contained in:
Родитель
10f24c7ebf
Коммит
418cd0251c
|
@ -692,30 +692,3 @@ nsAreaFrame::GetFrameName(nsString& aResult) const
|
|||
{
|
||||
return MakeFrameName("Area", aResult);
|
||||
}
|
||||
|
||||
// XXX The base class implementation should handle listing all of
|
||||
// the additional named child lists...
|
||||
NS_IMETHODIMP
|
||||
nsAreaFrame::List(FILE* out, PRInt32 aIndent) const
|
||||
{
|
||||
nsresult rv = nsBlockFrame::List(out, aIndent);
|
||||
|
||||
// Output absolutely positioned frames
|
||||
if (mAbsoluteFrames.NotEmpty()) {
|
||||
IndentBy(out, aIndent);
|
||||
fprintf(out, "absolute-items <\n");
|
||||
|
||||
nsIFrame* f = mAbsoluteFrames.FirstChild();
|
||||
while (nsnull != f) {
|
||||
f->List(out, aIndent+1);
|
||||
f->GetNextSibling(f);
|
||||
}
|
||||
|
||||
IndentBy(out, aIndent);
|
||||
fputs(">\n", out);
|
||||
}
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -72,8 +72,6 @@ public:
|
|||
nsIFrame* aParent,
|
||||
nsIStyleContext* aStyleContext,
|
||||
nsIFrame*& aContinuingFrame);
|
||||
|
||||
NS_IMETHOD List(FILE* out, PRInt32 aIndent) const;
|
||||
NS_IMETHOD GetFrameName(nsString& aResult) const;
|
||||
|
||||
protected:
|
||||
|
|
|
@ -692,30 +692,3 @@ nsAreaFrame::GetFrameName(nsString& aResult) const
|
|||
{
|
||||
return MakeFrameName("Area", aResult);
|
||||
}
|
||||
|
||||
// XXX The base class implementation should handle listing all of
|
||||
// the additional named child lists...
|
||||
NS_IMETHODIMP
|
||||
nsAreaFrame::List(FILE* out, PRInt32 aIndent) const
|
||||
{
|
||||
nsresult rv = nsBlockFrame::List(out, aIndent);
|
||||
|
||||
// Output absolutely positioned frames
|
||||
if (mAbsoluteFrames.NotEmpty()) {
|
||||
IndentBy(out, aIndent);
|
||||
fprintf(out, "absolute-items <\n");
|
||||
|
||||
nsIFrame* f = mAbsoluteFrames.FirstChild();
|
||||
while (nsnull != f) {
|
||||
f->List(out, aIndent+1);
|
||||
f->GetNextSibling(f);
|
||||
}
|
||||
|
||||
IndentBy(out, aIndent);
|
||||
fputs(">\n", out);
|
||||
}
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -72,8 +72,6 @@ public:
|
|||
nsIFrame* aParent,
|
||||
nsIStyleContext* aStyleContext,
|
||||
nsIFrame*& aContinuingFrame);
|
||||
|
||||
NS_IMETHOD List(FILE* out, PRInt32 aIndent) const;
|
||||
NS_IMETHOD GetFrameName(nsString& aResult) const;
|
||||
|
||||
protected:
|
||||
|
|
Загрузка…
Ссылка в новой задаче