зеркало из https://github.com/mozilla/gecko-dev.git
Give nsPageBreakFrame a frame name for DEBUGging code. (Bug 468645) r+sr=bzbarsky
This commit is contained in:
Родитель
9532b5af90
Коммит
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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче