mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Give nsPageBreakFrame a frame name for DEBUGging code. (Bug 468645) r+sr=bzbarsky
This commit is contained in:
parent
9532b5af90
commit
94a677809a
@ -658,4 +658,10 @@ nsPageBreakFrame::GetType() const
|
||||
return nsGkAtoms::pageBreakFrame;
|
||||
}
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
NS_IMETHODIMP
|
||||
nsPageBreakFrame::GetFrameName(nsAString& aResult) const
|
||||
{
|
||||
return MakeFrameName(NS_LITERAL_STRING("PageBreak"), aResult);
|
||||
}
|
||||
#endif
|
||||
|
@ -140,6 +140,10 @@ class nsPageBreakFrame : public nsLeafFrame {
|
||||
|
||||
virtual nsIAtom* GetType() const;
|
||||
|
||||
#ifdef NS_DEBUG
|
||||
NS_IMETHOD GetFrameName(nsAString& aResult) const;
|
||||
#endif
|
||||
|
||||
protected:
|
||||
|
||||
virtual nscoord GetIntrinsicWidth();
|
||||
|
Loading…
Reference in New Issue
Block a user