Make frames know whether they're leaves or not from the frame construction
point of view; use this in the frame constructor. Bug 265367, r+sr=dbaron
This commit is contained in:
@@ -332,6 +332,12 @@ nsGfxButtonControlFrame::AttributeChanged(nsIContent* aChild,
|
||||
return rv;
|
||||
}
|
||||
|
||||
PRBool
|
||||
nsGfxButtonControlFrame::IsLeaf() const
|
||||
{
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsGfxButtonControlFrame::Reflow(nsPresContext* aPresContext,
|
||||
nsHTMLReflowMetrics& aDesiredSize,
|
||||
|
||||
Reference in New Issue
Block a user