mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-29 17:40:42 +00:00
[Debug only] Add nsTableCaptionFrame::GetFrameName() returning "Caption". b=343386 r+sr=bzbarsky
This commit is contained in:
parent
72e3b47df0
commit
26a1119b47
@ -72,19 +72,20 @@ nsTableCaptionFrame::~nsTableCaptionFrame()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
nsTableOuterFrame::Destroy()
|
||||
{
|
||||
mCaptionFrames.DestroyFrames();
|
||||
nsHTMLContainerFrame::Destroy();
|
||||
}
|
||||
|
||||
nsIAtom*
|
||||
nsTableCaptionFrame::GetType() const
|
||||
{
|
||||
return nsLayoutAtoms::tableCaptionFrame;
|
||||
}
|
||||
|
||||
#ifdef NS_DEBUG
|
||||
NS_IMETHODIMP
|
||||
nsTableCaptionFrame::GetFrameName(nsAString& aResult) const
|
||||
{
|
||||
return MakeFrameName(NS_LITERAL_STRING("Caption"), aResult);
|
||||
}
|
||||
#endif
|
||||
|
||||
nsIFrame*
|
||||
NS_NewTableCaptionFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
|
||||
{
|
||||
@ -160,6 +161,13 @@ nsTableOuterFrame::Init(
|
||||
return rv;
|
||||
}
|
||||
|
||||
void
|
||||
nsTableOuterFrame::Destroy()
|
||||
{
|
||||
mCaptionFrames.DestroyFrames();
|
||||
nsHTMLContainerFrame::Destroy();
|
||||
}
|
||||
|
||||
nsIFrame*
|
||||
nsTableOuterFrame::GetFirstChild(nsIAtom* aListName) const
|
||||
{
|
||||
|
@ -56,6 +56,10 @@ public:
|
||||
virtual nsIAtom* GetType() const;
|
||||
friend nsIFrame* NS_NewTableCaptionFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
|
||||
|
||||
#ifdef NS_DEBUG
|
||||
NS_IMETHOD GetFrameName(nsAString& aResult) const;
|
||||
#endif
|
||||
|
||||
protected:
|
||||
nsTableCaptionFrame(nsStyleContext* aContext);
|
||||
virtual ~nsTableCaptionFrame();
|
||||
|
Loading…
x
Reference in New Issue
Block a user