293384 implement nsImageFrame::GetFrameName for easier debugging

r+sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@173213 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbiesinger%web.de 2005-05-09 17:46:06 +00:00
parent 5b8eac97b1
commit 30cd5b3f3a
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