mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 19:41:49 +00:00
293384 implement nsImageFrame::GetFrameName for easier debugging
r+sr=bz a=asa
This commit is contained in:
parent
6b13822230
commit
87c0b991cd
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user