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:
@@ -573,6 +573,12 @@ nsFileControlFrame::AttributeChanged(nsIContent* aChild,
|
||||
return nsAreaFrame::AttributeChanged(aChild, aNameSpaceID, aAttribute, aModType);
|
||||
}
|
||||
|
||||
PRBool
|
||||
nsFileControlFrame::IsLeaf() const
|
||||
{
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsFileControlFrame::GetFrameForPoint(const nsPoint& aPoint,
|
||||
nsFramePaintLayer aWhichLayer,
|
||||
|
||||
Reference in New Issue
Block a user