293384 implement nsImageFrame::GetFrameName for easier debugging

r+sr=bz a=asa
This commit is contained in:
cbiesinger%web.de 2005-05-09 17:46:06 +00:00
parent 6b13822230
commit 87c0b991cd
2 changed files with 7 additions and 0 deletions

View File

@ -1793,6 +1793,12 @@ nsImageFrame::GetType() const
}
#ifdef DEBUG
NS_IMETHODIMP
nsImageFrame::GetFrameName(nsAString& aResult) const
{
return MakeFrameName(NS_LITERAL_STRING("ImageFrame"), aResult);
}
NS_IMETHODIMP
nsImageFrame::List(nsPresContext* aPresContext, FILE* out, PRInt32 aIndent) const
{

View File

@ -126,6 +126,7 @@ public:
virtual nsIAtom* GetType() const;
#ifdef DEBUG
NS_IMETHOD GetFrameName(nsAString& aResult) const;
NS_IMETHOD List(nsPresContext* aPresContext, FILE* out, PRInt32 aIndent) const;
#endif