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:
@@ -398,6 +398,11 @@ nsContainerFrame::ReflowDirtyChild(nsIPresShell* aPresShell, nsIFrame* aChild)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
PRBool
|
||||
nsContainerFrame::IsLeaf() const
|
||||
{
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Helper member functions
|
||||
|
||||
Reference in New Issue
Block a user