Added ListTag() member function
This commit is contained in:
@@ -60,6 +60,8 @@ public:
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHOD ListTag(FILE* out) const;
|
||||
|
||||
protected:
|
||||
virtual PRIntn GetSkipSides() const;
|
||||
};
|
||||
@@ -233,3 +235,15 @@ RootFrame::HandleEvent(nsIPresContext& aPresContext,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// Output the frame's tag
|
||||
NS_IMETHODIMP
|
||||
RootFrame::ListTag(FILE* out) const
|
||||
{
|
||||
if (nsnull == mContent) {
|
||||
fprintf(out, "*Root(-1)@%p", this);
|
||||
} else {
|
||||
return nsFrame::ListTag(out);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user