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:
@@ -2500,6 +2500,12 @@ nsFrame::GetType() const
|
||||
return nsnull;
|
||||
}
|
||||
|
||||
PRBool
|
||||
nsIFrame::IsLeaf() const
|
||||
{
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
nsIFrame::Invalidate(const nsRect& aDamageRect,
|
||||
PRBool aImmediate) const
|
||||
|
||||
Reference in New Issue
Block a user